summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-08-13 10:23:53 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-08-13 10:23:53 +0000
commit64e24264c8c2d4f26447dc15f0124f926f9e5cf8 (patch)
treef04b58a60a724e6f350549dab2bc1dd15938047e /media-video/lxdvdrip
parentversion bump (diff)
downloadgentoo-2-64e24264c8c2d4f26447dc15f0124f926f9e5cf8.tar.gz
gentoo-2-64e24264c8c2d4f26447dc15f0124f926f9e5cf8.tar.bz2
gentoo-2-64e24264c8c2d4f26447dc15f0124f926f9e5cf8.zip
version bump
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'media-video/lxdvdrip')
-rw-r--r--media-video/lxdvdrip/ChangeLog8
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.71-makefile.patch26
-rw-r--r--media-video/lxdvdrip/lxdvdrip-1.71.ebuild52
3 files changed, 85 insertions, 1 deletions
diff --git a/media-video/lxdvdrip/ChangeLog b/media-video/lxdvdrip/ChangeLog
index e159257c6735..2e360d26832a 100644
--- a/media-video/lxdvdrip/ChangeLog
+++ b/media-video/lxdvdrip/ChangeLog
@@ -1,6 +1,12 @@
# 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.25 2008/05/04 14:16:06 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/lxdvdrip/ChangeLog,v 1.26 2008/08/13 10:23:53 aballier Exp $
+
+*lxdvdrip-1.71 (13 Aug 2008)
+
+ 13 Aug 2008; Alexis Ballier <aballier@gentoo.org>
+ +files/lxdvdrip-1.71-makefile.patch, +lxdvdrip-1.71.ebuild:
+ version bump
04 May 2008; Samuli Suominen <drac@gentoo.org> lxdvdrip-1.70.ebuild:
Use berlios mirrors:// wrt #218657
diff --git a/media-video/lxdvdrip/files/lxdvdrip-1.71-makefile.patch b/media-video/lxdvdrip/files/lxdvdrip-1.71-makefile.patch
new file mode 100644
index 000000000000..860c432f1925
--- /dev/null
+++ b/media-video/lxdvdrip/files/lxdvdrip-1.71-makefile.patch
@@ -0,0 +1,26 @@
+Index: lxdvdrip/Makefile
+===================================================================
+--- lxdvdrip.orig/Makefile
++++ lxdvdrip/Makefile
+@@ -3,12 +3,15 @@ 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 -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 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.71.ebuild b/media-video/lxdvdrip/lxdvdrip-1.71.ebuild
new file mode 100644
index 000000000000..ea1729ed0b9e
--- /dev/null
+++ b/media-video/lxdvdrip/lxdvdrip-1.71.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/lxdvdrip/lxdvdrip-1.71.ebuild,v 1.1 2008/08/13 10:23:53 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}.tgz"
+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"
+}
+
+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!"
+}