summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-06-01 19:50:34 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-06-01 19:50:34 +0000
commite5758007ab27dc57ae642275a398e201c5c0f6e3 (patch)
tree51c32df283a9a3475a365d21a9783d1aa8293a23 /media-video/lxdvdrip
parentChange inherit order to get right description and not from eutils.eclass, bug... (diff)
downloadgentoo-2-e5758007ab27dc57ae642275a398e201c5c0f6e3.tar.gz
gentoo-2-e5758007ab27dc57ae642275a398e201c5c0f6e3.tar.bz2
gentoo-2-e5758007ab27dc57ae642275a398e201c5c0f6e3.zip
Version bump, bug #180396
(Portage version: 2.1.2.9)
Diffstat (limited to 'media-video/lxdvdrip')
-rw-r--r--media-video/lxdvdrip/ChangeLog11
-rw-r--r--media-video/lxdvdrip/files/digest-lxdvdrip-1.703
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.70-makefile.patch18
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.70-vamps-makefile.patch13
-rw-r--r--media-video/lxdvdrip/lxdvdrip-1.70.ebuild52
5 files changed, 95 insertions, 2 deletions
diff --git a/media-video/lxdvdrip/ChangeLog b/media-video/lxdvdrip/ChangeLog
index 3e543c548612..b2d75ecca734 100644
--- a/media-video/lxdvdrip/ChangeLog
+++ b/media-video/lxdvdrip/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/lxdvdrip
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/lxdvdrip/ChangeLog,v 1.21 2006/12/12 18:38:38 aballier Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/lxdvdrip/ChangeLog,v 1.22 2007/06/01 19:50:34 aballier Exp $
+
+*lxdvdrip-1.70 (01 Jun 2007)
+
+ 01 Jun 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/lxdvdrip-1.70-makefile.patch,
+ +files/lxdvdrip-1.70-vamps-makefile.patch, +lxdvdrip-1.70.ebuild:
+ Version bump, bug #180396
12 Dec 2006; Alexis Ballier <aballier@gentoo.org>
files/lxdvdrip-1.62-makefile, lxdvdrip-1.62.ebuild:
diff --git a/media-video/lxdvdrip/files/digest-lxdvdrip-1.70 b/media-video/lxdvdrip/files/digest-lxdvdrip-1.70
new file mode 100644
index 000000000000..e64eaee7316c
--- /dev/null
+++ b/media-video/lxdvdrip/files/digest-lxdvdrip-1.70
@@ -0,0 +1,3 @@
+MD5 73c7bec3bba1ad28bf78ec9dfba94598 lxdvdrip-1.70.tgz 685084
+RMD160 a579ad723c106ef1fca1fac09734e7be4a53e16f lxdvdrip-1.70.tgz 685084
+SHA256 3112d5684447ae82a22f42ef2418b58c555dabc5bcbdb31ec1f14f16fc545102 lxdvdrip-1.70.tgz 685084
diff --git a/media-video/lxdvdrip/files/lxdvdrip-1.70-makefile.patch b/media-video/lxdvdrip/files/lxdvdrip-1.70-makefile.patch
new file mode 100644
index 000000000000..af2bb7f1e9b5
--- /dev/null
+++ b/media-video/lxdvdrip/files/lxdvdrip-1.70-makefile.patch
@@ -0,0 +1,18 @@
+Index: lxdvdrip/Makefile
+===================================================================
+--- lxdvdrip.orig/Makefile
++++ lxdvdrip/Makefile
+@@ -4,11 +4,8 @@ HINWEIS1 = 'Check the configuration file
+ 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
+- gcc -g -lm -o lxac3scan lxac3scan.c
+- cd vamps && make && cd ..
+- cd dvdbackup && make && cd ..
+- cd buffer && make && cd ..
++ $(CC) $(CFLAGS) $(LDFLAGS) -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 -lm -ldvdread -ldvdnav -lpthread
++ $(CC) $(CFLAGS) $(LDFLAGS) -o lxac3scan lxac3scan.c -lm
+
+ clean:
+ rm -f lxdvdrip lxac3scan *.o
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/lxdvdrip-1.70.ebuild b/media-video/lxdvdrip/lxdvdrip-1.70.ebuild
new file mode 100644
index 000000000000..1cf7f96ffda9
--- /dev/null
+++ b/media-video/lxdvdrip/lxdvdrip-1.70.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/lxdvdrip/lxdvdrip-1.70.ebuild,v 1.1 2007/06/01 19:50:34 aballier Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="command line tool to automate the process of ripping and burning DVD"
+SRC_URI="http://download.berlios.de/lxdvdrip/${P}.tgz"
+HOMEPAGE="http://developer.berlios.de/projects/lxdvdrip/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+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}/${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
+ dobin lxac3scan
+ 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!"
+}