summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-video/lxdvdrip
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-video/lxdvdrip')
-rw-r--r--media-video/lxdvdrip/Manifest1
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.70-vamps-makefile.patch13
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.76-makefile.patch28
-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.ebuild51
-rw-r--r--media-video/lxdvdrip/metadata.xml11
7 files changed, 158 insertions, 0 deletions
diff --git a/media-video/lxdvdrip/Manifest b/media-video/lxdvdrip/Manifest
new file mode 100644
index 000000000000..220ad408a4b8
--- /dev/null
+++ b/media-video/lxdvdrip/Manifest
@@ -0,0 +1 @@
+DIST lxdvdrip-1.77.tgz 714310 SHA256 3b31ebb1c7edb02989bd2c3b6dbfd9d960cfdf6d950ae403639f1d5b63aac41f SHA512 d9b3003d52b90ad0f6c02054cb3171b4613b4210b5681c76f2e6e42d4a233438b1323c93b92457fd2e048e7ddef0df2089d82ea8bf3f9983c453ff99f122cca3 WHIRLPOOL 6953884fdf51e1b824dd7a77a0aea813e3766693207a6f8446840c0f385ed71d5182adcc84406b25c77fd94a7768cb5c5a9a1f1837af508279d5505b91d9df52
diff --git a/media-video/lxdvdrip/files/lxdvdrip-1.70-vamps-makefile.patch b/media-video/lxdvdrip/files/lxdvdrip-1.70-vamps-makefile.patch
new file mode 100644
index 000000000000..e2fb8775931e
--- /dev/null
+++ b/media-video/lxdvdrip/files/lxdvdrip-1.70-vamps-makefile.patch
@@ -0,0 +1,13 @@
+Index: lxdvdrip/vamps/Makefile
+===================================================================
+--- lxdvdrip.orig/vamps/Makefile
++++ lxdvdrip/vamps/Makefile
+@@ -21,7 +21,7 @@ CC = gcc
+ 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 -lpthread -ldvdread
+
+ INSTALL ?= install
diff --git a/media-video/lxdvdrip/files/lxdvdrip-1.76-makefile.patch b/media-video/lxdvdrip/files/lxdvdrip-1.76-makefile.patch
new file mode 100644
index 000000000000..efebf922e2ba
--- /dev/null
+++ b/media-video/lxdvdrip/files/lxdvdrip-1.76-makefile.patch
@@ -0,0 +1,28 @@
+Index: lxdvdrip/Makefile
+===================================================================
+--- lxdvdrip.orig/Makefile
++++ lxdvdrip/Makefile
+@@ -3,13 +3,16 @@ HINWEIS0 = 'Bitte Konfigdatei in /etc mi
+ HINWEIS1 = 'Check the configuration file in /etc with the Changelog'
+ HINWEIS2 = 'Comparez le fichier de config. en /etc avec le Changelog'
+
+-all:
+- gcc -g -lm -ldvdread -lpthread -o lxdvdrip lxdvdrip.c streamanalyze.c ifo.c dvdinfo.c dvdbackup.c dvdcell.c systools.c vaporize.c dvdtools.c dvdcopy.c requant.c cputest.c tcmemcpy.c dvdformat.c badsect.c mpeg2dec.c
+- gcc -g -lm -o lxac3scan lxac3scan.c
+- cd vamps && make && cd ..
+- cd dvdbackup && make && cd ..
+- cd requant && make && cd ..
+- cd buffer && make && cd ..
++LXDVDRIP_SOURCES = lxdvdrip.c streamanalyze.c ifo.c dvdinfo.c dvdbackup.c dvdcell.c systools.c vaporize.c dvdtools.c dvdcopy.c requant.c cputest.c tcmemcpy.c dvdformat.c badsect.c mpeg2dec.c
++LXDVDRIP_OBJS = $(LXDVDRIP_SOURCES:%.c=%.o)
++
++all: lxdvdrip lxac3scan
++
++lxdvdrip: $(LXDVDRIP_OBJS)
++ $(CC) $(LDFLAGS) -o $@ $^ -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-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..1e73e89718b0
--- /dev/null
+++ b/media-video/lxdvdrip/lxdvdrip-1.77.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="http://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..26d1bcd90abc
--- /dev/null
+++ b/media-video/lxdvdrip/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">lxdvdrip</remote-id>
+ </upstream>
+</pkgmetadata>