summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-05-14 18:00:36 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-05-14 18:00:36 +0000
commit1e2176b129d307265f5e071ead3bca850f6cd5c7 (patch)
treeddc6f715366fda969d3905676b5b723091066666 /media-video/lxdvdrip
parentVersion bump, remove old versions, fix broken dobin due to cmake-utils eclass... (diff)
downloadgentoo-2-1e2176b129d307265f5e071ead3bca850f6cd5c7.tar.gz
gentoo-2-1e2176b129d307265f5e071ead3bca850f6cd5c7.tar.bz2
gentoo-2-1e2176b129d307265f5e071ead3bca850f6cd5c7.zip
version bump, by Jon Wilson <jon-gentoo@phuq.co.uk>, bug #268807
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-video/lxdvdrip')
-rw-r--r--media-video/lxdvdrip/ChangeLog11
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.74-lxdvdrip.conf.patch11
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.74-makefile.patch25
-rw-r--r--media-video/lxdvdrip/lxdvdrip-1.74.ebuild53
4 files changed, 98 insertions, 2 deletions
diff --git a/media-video/lxdvdrip/ChangeLog b/media-video/lxdvdrip/ChangeLog
index 2e360d26832a..cf2b237d9f67 100644
--- a/media-video/lxdvdrip/ChangeLog
+++ b/media-video/lxdvdrip/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/lxdvdrip
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/lxdvdrip/ChangeLog,v 1.26 2008/08/13 10:23:53 aballier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/lxdvdrip/ChangeLog,v 1.27 2009/05/14 18:00:36 aballier Exp $
+
+*lxdvdrip-1.74 (14 May 2009)
+
+ 14 May 2009; Alexis Ballier <aballier@gentoo.org> +lxdvdrip-1.74.ebuild,
+ +files/lxdvdrip-1.74-lxdvdrip.conf.patch,
+ +files/lxdvdrip-1.74-makefile.patch:
+ version bump, by Jon Wilson <jon-gentoo@phuq.co.uk>, bug #268807
*lxdvdrip-1.71 (13 Aug 2008)
diff --git a/media-video/lxdvdrip/files/lxdvdrip-1.74-lxdvdrip.conf.patch b/media-video/lxdvdrip/files/lxdvdrip-1.74-lxdvdrip.conf.patch
new file mode 100644
index 000000000000..19601c7f533e
--- /dev/null
+++ b/media-video/lxdvdrip/files/lxdvdrip-1.74-lxdvdrip.conf.patch
@@ -0,0 +1,11 @@
+--- lxdvdrip/lxdvdrip.conf.orig 2009-05-06 21:27:00.000000000 +1000
++++ lxdvdrip/lxdvdrip.conf 2009-05-06 21:27:09.000000000 +1000
+@@ -6,7 +6,7 @@
+ # Leerzeichen angegeben werden.
+
+ # Version der Config-Datei
+-version=1.72
++version=1.74
+
+ # Auswahl des zu rippenden Titels, bestimmen mit "lsdvd".
+ # Alternative: bei titel=0 bestimmt lxdvdrip den laengsten Titel der DVD
diff --git a/media-video/lxdvdrip/files/lxdvdrip-1.74-makefile.patch b/media-video/lxdvdrip/files/lxdvdrip-1.74-makefile.patch
new file mode 100644
index 000000000000..0af3b11231bd
--- /dev/null
+++ b/media-video/lxdvdrip/files/lxdvdrip-1.74-makefile.patch
@@ -0,0 +1,25 @@
+--- Makefile 2009-05-03 20:26:26.000000000 +1000
++++ Makefile.new 2009-05-03 20:30:02.000000000 +1000
+@@ -3,13 +3,15 @@
+ 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 -ldvdnav -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.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 -ldvdnav -lpthread
++
++lxac3scan: lxac3scan.o
++ $(CC) $(LDFLAGS) -o $@ $< -lm
+
+ clean:
+ rm -f lxdvdrip lxac3scan *.o
diff --git a/media-video/lxdvdrip/lxdvdrip-1.74.ebuild b/media-video/lxdvdrip/lxdvdrip-1.74.ebuild
new file mode 100644
index 000000000000..1d17d297ad59
--- /dev/null
+++ b/media-video/lxdvdrip/lxdvdrip-1.74.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/lxdvdrip/lxdvdrip-1.74.ebuild,v 1.1 2009/05/14 18:00:36 aballier Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="command line tool to automate the process of ripping and burning DVD"
+SRC_URI="mirror://berlios/lxdvdrip/${P}.tar.gz"
+HOMEPAGE="http://developer.berlios.de/projects/lxdvdrip/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="media-libs/libdvdread
+ media-libs/libdvdnav"
+RDEPEND="${DEPEND}
+ >=media-video/dvdauthor-0.6.9
+ media-video/streamdvd
+ media-video/mpgtx"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-makefile.patch"
+ epatch "${FILESDIR}/${PN}-1.70-vamps-makefile.patch"
+ epatch "${FILESDIR}/${P}-lxdvdrip.conf.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* doc-pak/TODO
+ 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!"
+}