summaryrefslogtreecommitdiff
path: root/media-video/cpvts
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
commitecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch)
treeb89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /media-video/cpvts
parent1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff)
downloadbaldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip
Updating liguros repo
Diffstat (limited to 'media-video/cpvts')
-rw-r--r--media-video/cpvts/Manifest1
-rw-r--r--media-video/cpvts/cpvts-1.2-r1.ebuild39
-rw-r--r--media-video/cpvts/files/cpvts-1.2-dvdread.patch11
-rw-r--r--media-video/cpvts/metadata.xml8
4 files changed, 59 insertions, 0 deletions
diff --git a/media-video/cpvts/Manifest b/media-video/cpvts/Manifest
new file mode 100644
index 000000000000..04a2669179d2
--- /dev/null
+++ b/media-video/cpvts/Manifest
@@ -0,0 +1 @@
+DIST cpvts-1.2.tgz 4200 BLAKE2B 18a57a794b90d05d9bfb0694754609cc16f5e7647a75402a0a822cd4547d2da0843f846041377a60cc55c3a1f5b28a333bfa3d8a4f77b35d17b1873674b02c12 SHA512 59314f2b49e7f82d2994aa6725fcc8431ffb72aa2ae83d67cbef008d850890a61322756c1d644e28760e332bcbe17ce9ad8b05c10fe9f30fe997933281e2f06f
diff --git a/media-video/cpvts/cpvts-1.2-r1.ebuild b/media-video/cpvts/cpvts-1.2-r1.ebuild
new file mode 100644
index 000000000000..d23ea9ae6ddf
--- /dev/null
+++ b/media-video/cpvts/cpvts-1.2-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils toolchain-funcs
+
+IUSE=""
+
+S="${WORKDIR}/${PN}"
+
+DESCRIPTION="raw copy title sets from a DVD to your harddisc"
+SRC_URI="http://www.lallafa.de/bp/files/${P}.tgz"
+HOMEPAGE="http://www.lallafa.de/bp/cpvts.html"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc x86"
+
+DEPEND="media-libs/libdvdread"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-dvdread.patch"
+)
+
+echodo() {
+ echo "$@"
+ "$@" || die "failed"
+}
+
+src_compile() {
+ echodo $(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,-rpath,/usr/lib -o cpvts \
+ cpvts.c -lm -ldvdread
+}
+
+src_install() {
+ dobin ${PN}
+}
diff --git a/media-video/cpvts/files/cpvts-1.2-dvdread.patch b/media-video/cpvts/files/cpvts-1.2-dvdread.patch
new file mode 100644
index 000000000000..50bc92078b36
--- /dev/null
+++ b/media-video/cpvts/files/cpvts-1.2-dvdread.patch
@@ -0,0 +1,11 @@
+diff -Naur cpvts-orig/cpvts.c cpvts/cpvts.c
+--- cpvts-orig/cpvts.c 2006-03-31 20:47:16.000000000 -0600
++++ cpvts/cpvts.c 2006-03-31 20:47:40.000000000 -0600
+@@ -16,6 +16,7 @@
+ #include <ctype.h>
+ #include <string.h>
+ #include <math.h>
++#include <stdint.h>
+
+ /* libdvdread stuff */
+ #include <dvdread/dvd_reader.h>
diff --git a/media-video/cpvts/metadata.xml b/media-video/cpvts/metadata.xml
new file mode 100644
index 000000000000..ee140e8fc062
--- /dev/null
+++ b/media-video/cpvts/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>