summaryrefslogtreecommitdiff
path: root/media-video/lxdvdrip
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-video/lxdvdrip
reinit the tree, so we can have metadata
Diffstat (limited to 'media-video/lxdvdrip')
-rw-r--r--media-video/lxdvdrip/Manifest7
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.77-makefile.patch43
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.77-vamps-makefile.patch11
-rw-r--r--media-video/lxdvdrip/lxdvdrip-1.77.ebuild50
-rw-r--r--media-video/lxdvdrip/metadata.xml10
5 files changed, 121 insertions, 0 deletions
diff --git a/media-video/lxdvdrip/Manifest b/media-video/lxdvdrip/Manifest
new file mode 100644
index 000000000000..a685c4318773
--- /dev/null
+++ b/media-video/lxdvdrip/Manifest
@@ -0,0 +1,7 @@
+AUX lxdvdrip-1.77-makefile.patch 1341 SHA256 b4d753031aee2ac543ecf34993a694d0e9628c4042338e3775ee3ea317a21250 SHA512 4641e48fa2c7f35948788211a093f96506a74a5beee44b83787774627b52b85b36a65043e1b99cde6fb9352dde0a3838070e1f63a810f7f1433849be04e7e4a2 WHIRLPOOL 65a80eac28ec1adc43baec436563c7e0fd84910aa674f97ddfc255d8b8ad93fa092d4a11ffbea444a6ac01a45080ae3a6db981147d9e98e521df144cc46d7c45
+AUX lxdvdrip-1.77-vamps-makefile.patch 389 SHA256 6a7f56787088311920ff2efb292248b9374c2bf85063ab1c41730c5966bb3486 SHA512 d51a411dd8bee365556b0ee275beccb99f00d4054e40080ca40fbb50f843a6646d2bb5fbc3ae97073dac7411706c0075266b00b7dfafcfa5977442143592e8b4 WHIRLPOOL b391919e5debbac6cbb55b13e0337d3e6459a8d6fc04a8e3127bcfcd93aa9a1c6ea499ee2544777067b94318099dab7181dd89028bf6a079e6168077e6ebbd97
+DIST lxdvdrip-1.77.tgz 714310 SHA256 3b31ebb1c7edb02989bd2c3b6dbfd9d960cfdf6d950ae403639f1d5b63aac41f SHA512 d9b3003d52b90ad0f6c02054cb3171b4613b4210b5681c76f2e6e42d4a233438b1323c93b92457fd2e048e7ddef0df2089d82ea8bf3f9983c453ff99f122cca3 WHIRLPOOL 6953884fdf51e1b824dd7a77a0aea813e3766693207a6f8446840c0f385ed71d5182adcc84406b25c77fd94a7768cb5c5a9a1f1837af508279d5505b91d9df52
+EBUILD lxdvdrip-1.77.ebuild 1181 SHA256 444c7aa0b57ab3e8d97c605aecce4d04afe11b555203243f51ccc6e9f9e1fe39 SHA512 a21a4630d2c0f94b2d5b26009dbf2b1e064ac932f2f3a4fa426ae4cd388a2a61451f6f3c3c3cf508533260d0b8f01d3c41f292d92e24c8b113079d75c194db18 WHIRLPOOL eb941dcddb23426acddf75038571083f321de45ceab68e139dac23ab3fed825216f3e213a80d40302c6f05c9e9410566e50e0fc330106e48c9786895127b3222
+MISC ChangeLog 2709 SHA256 806698920c2a7f1e407a396fae8b3d87debc6ac4a90497e44c45d4dbca3b5df6 SHA512 9fc531c6f309f6f4c8fce91a61b6aed8ce7ce78f65fa3919ab1581ccc6039e24f4779c53b61b8736ab1f12973a226cb1d66d421a02603ed2e33bbd303f2d6291 WHIRLPOOL a0fa53d4b1eb5fc61711e2ab6b5889ea2ab28eb782d9e99555d3458de4da6312723c42be025c09a9906638cfeafb9a4ac45087c52b4d78c4c48ae008643aaefa
+MISC ChangeLog-2015 5941 SHA256 041e005dd22aaa0e01440c7a0a9de449e8fdc2e6fa4fc2f64e75d47c46833d42 SHA512 5c6cbb235cc9b6856bc11d2cea461640849d0f0718af850a8a95d4a51c6a1a0f8cd14bbcda427a02fa092772f9f103b6be00b987a214f9890cb9d7ccf3eec78f WHIRLPOOL 2c6ef50284c4b1cb57f24786c65069fa35cd235c4fff529792171e444d598b7ec3d5057886bad0e81262265784525fede8117ff7bf3dba63519429235cfffe6c
+MISC metadata.xml 301 SHA256 032f0241e25819fdfc515cf70cbb51d1d38008162c2b062d3e7d74dd66171120 SHA512 14dce877e9111310fd764182c06b619ab5ef6c64c779e218aff6d996ceb70ad78c42f05f26a6f00adbf99b83e4b2b743c251fa7e65325d154efdf02cddb713f2 WHIRLPOOL 99fa40ebba5b6ee244472d89055531f4222a494677f62f460712767e108ced67e84d6bbd57e7f88b482cc9c715d498fe3e34125f405db6056688a6932f5a8121
diff --git a/media-video/lxdvdrip/files/lxdvdrip-1.77-makefile.patch b/media-video/lxdvdrip/files/lxdvdrip-1.77-makefile.patch
new file mode 100644
index 000000000000..35df8fb65400
--- /dev/null
+++ b/media-video/lxdvdrip/files/lxdvdrip-1.77-makefile.patch
@@ -0,0 +1,43 @@
+--- Makefile.orig 2014-03-17 15:40:30.886570544 -0600
++++ Makefile 2014-03-17 15:41:22.729159468 -0600
+@@ -3,31 +3,15 @@
+ HINWEIS1 = 'Check the configuration file in /etc with the Changelog'
+ HINWEIS2 = 'Comparez le fichier de config. en /etc avec le Changelog'
+
+-all:
+- if test -f badsect.o; then rm *.o; fi
+- gcc -g -c badsect.c
+- gcc -g -c cputest.c
+- gcc -g -c dvdbackup.c
+- gcc -g -c dvdcell.c
+- gcc -g -c dvdcopy.c
+- gcc -g -c dvdformat.c
+- gcc -g -c dvdinfo.c
+- gcc -g -c dvdtools.c
+- gcc -g -c ifo.c
+- gcc -g -c lxdvdrip.c
+- gcc -g -c mpeg2dec.c
+- gcc -g -c requant.c
+- gcc -g -c streamanalyze.c
+- gcc -g -c systools.c
+- gcc -g -c tcmemcpy.c
+- gcc -g -c vaporize.c
+- gcc -pthread -g -o lxdvdrip *o -ldvdread -lm
+- if test -f badsect.o; then rm *.o; fi
+- gcc -g -lm -o lxac3scan lxac3scan.c
+- cd vamps && make && cd ..
+- cd dvdbackup && make && cd ..
+- cd requant && make && cd ..
+- cd mbuffer && make && cd ..
++LXDVDRIP_SOURCES = lxdvdrip.o streamanalyze.o ifo.o dvdinfo.o dvdbackup.o dvdcell.o systools.o vaporize.o dvdtools.o dvdcopy.o requant.o cputest.o tcmemcpy.o dvdformat.o badsect.o mpeg2dec.o
++
++all: lxdvdrip lxac3scan
++
++lxdvdrip: $(LXDVDRIP_SOURCES)
++ $(CC) $(LDFLAGS) -o $@ $(LXDVDRIP_SOURCES) -lm -ldvdread -lpthread
++
++lxac3scan: lxac3scan.o
++ $(CC) $(LDFLAGS) -o $@ $< -lm
+
+ clean:
+ rm -f lxdvdrip lxac3scan *.o
diff --git a/media-video/lxdvdrip/files/lxdvdrip-1.77-vamps-makefile.patch b/media-video/lxdvdrip/files/lxdvdrip-1.77-vamps-makefile.patch
new file mode 100644
index 000000000000..7c32d44ef371
--- /dev/null
+++ b/media-video/lxdvdrip/files/lxdvdrip-1.77-vamps-makefile.patch
@@ -0,0 +1,11 @@
+--- vamps/Makefile.orig 2014-03-17 15:44:50.086513525 -0600
++++ vamps/Makefile 2014-03-17 15:44:56.443321441 -0600
+@@ -21,7 +21,7 @@
+ CFLAGS ?= -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
+ -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT
+ CFLAGS += -Wall
+-LDFLAGS += -s
++LDFLAGS +=
+ LOADLIBES += -lm -pthread -ldvdread
+
+ INSTALL ?= install
diff --git a/media-video/lxdvdrip/lxdvdrip-1.77.ebuild b/media-video/lxdvdrip/lxdvdrip-1.77.ebuild
new file mode 100644
index 000000000000..74763867b526
--- /dev/null
+++ b/media-video/lxdvdrip/lxdvdrip-1.77.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Command line tool to automate the process of ripping and burning DVDs"
+SRC_URI="mirror://sourceforge/lxdvdrip/${P}.tgz"
+HOMEPAGE="https://sourceforge.net/projects/lxdvdrip/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="media-libs/libdvdread"
+RDEPEND="${DEPEND}
+ >=media-video/dvdauthor-0.6.9
+ media-video/streamdvd
+ media-video/mpgtx"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-makefile.patch"
+ epatch "${FILESDIR}/${P}-vamps-makefile.patch"
+}
+
+src_compile() {
+ CC="$(tc-getCC)" emake || die "emake failed"
+ cd "${S}/vamps"
+ emake CC="$(tc-getCC)" || die "emake lxdvdip vamps failed"
+}
+
+src_install () {
+ dobin lxdvdrip || die
+ dobin lxac3scan || die
+ dodoc doc-pak/Changelog* doc-pak/Credits doc-pak/Debugging.*
+ dodoc doc-pak/lxdvdrip.conf* doc-pak/README*
+ doman lxdvdrip.1
+
+ insinto /usr/share
+ doins lxdvdrip.wav
+
+ insinto /etc
+ newins doc-pak/lxdvdrip.conf.EN lxdvdrip.conf
+
+ cd "${S}/vamps"
+ emake PREFIX="${D}/usr" install || die "make install failed for vamps!"
+}
diff --git a/media-video/lxdvdrip/metadata.xml b/media-video/lxdvdrip/metadata.xml
new file mode 100644
index 000000000000..3736acd7c0ea
--- /dev/null
+++ b/media-video/lxdvdrip/metadata.xml
@@ -0,0 +1,10 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">lxdvdrip</remote-id>
+ </upstream>
+</pkgmetadata>