diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-04-09 06:22:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-04-09 06:22:46 +0000 |
commit | c7e4cb2fdc0aae172ff4ea39f9b6d173ad7cb416 (patch) | |
tree | e32b294e3945f00540bd47a0eaf39833ec44de12 /media-video/dvdbackup | |
parent | Fix X11_IMPLEM. Fix from merkaba@quantumfish.com (#47282). (Manifest recommit) (diff) | |
download | gentoo-2-c7e4cb2fdc0aae172ff4ea39f9b6d173ad7cb416.tar.gz gentoo-2-c7e4cb2fdc0aae172ff4ea39f9b6d173ad7cb416.tar.bz2 gentoo-2-c7e4cb2fdc0aae172ff4ea39f9b6d173ad7cb416.zip |
cleanup and bump
Diffstat (limited to 'media-video/dvdbackup')
-rw-r--r-- | media-video/dvdbackup/ChangeLog | 12 | ||||
-rw-r--r-- | media-video/dvdbackup/dvdbackup-0.1.1-r1.ebuild (renamed from media-video/dvdbackup/dvdbackup-0.1.1.ebuild) | 23 | ||||
-rw-r--r-- | media-video/dvdbackup/files/0.1.1-debian-FPE.patch | 11 | ||||
-rw-r--r-- | media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r1 (renamed from media-video/dvdbackup/files/digest-dvdbackup-0.1.1) | 0 |
4 files changed, 37 insertions, 9 deletions
diff --git a/media-video/dvdbackup/ChangeLog b/media-video/dvdbackup/ChangeLog index 9b40b6a6bcf2..b272246a9f61 100644 --- a/media-video/dvdbackup/ChangeLog +++ b/media-video/dvdbackup/ChangeLog @@ -1,12 +1,18 @@ # ChangeLog for media-video/dvdbackup # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/ChangeLog,v 1.2 2003/12/29 21:20:40 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/ChangeLog,v 1.3 2004/04/09 06:22:46 vapier Exp $ - 29 Dec 2003; Jason Wever <weeve@gentoo.org> dvdbackup-0.1.1.ebuild: - Added ~sparc to keywords. +*dvdbackup-0.1.1-r1 (09 Apr 2004) + + 09 Apr 2004; Mike Frysinger <vapier@gentoo.org> : + Add debian patch to fix floating point exception when there a dvd + only contains one title set. *dvdbackup-0.1.1 (24 Mar 2003) + 29 Dec 2003; Jason Wever <weeve@gentoo.org> dvdbackup-0.1.1.ebuild: + Added ~sparc to keywords. + 24 Mar 2003; <rac@gentoo.org> dvdbackup-0.1.1.ebuild: Initial commit diff --git a/media-video/dvdbackup/dvdbackup-0.1.1.ebuild b/media-video/dvdbackup/dvdbackup-0.1.1-r1.ebuild index 31e887f6de05..1d152651867f 100644 --- a/media-video/dvdbackup/dvdbackup-0.1.1.ebuild +++ b/media-video/dvdbackup/dvdbackup-0.1.1-r1.ebuild @@ -1,24 +1,35 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/dvdbackup-0.1.1.ebuild,v 1.4 2004/03/05 05:24:10 jhuebel Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/dvdbackup/dvdbackup-0.1.1-r1.ebuild,v 1.1 2004/04/09 06:22:46 vapier Exp $ + +inherit gcc eutils DESCRIPTION="Backup content from DVD to hard disk" HOMEPAGE="http://dvd-create.sourceforge.net/" SRC_URI="http://dvd-create.sourceforge.net/${P}.tar.gz" + LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ~sparc amd64" +KEYWORDS="x86 sparc amd64" IUSE="" + DEPEND="media-libs/libdvdread" S=${WORKDIR}/${PN} -src_compile() { +src_unpack() { + unpack ${A} cd ${S} - gcc -o dvdbackup -I/usr/include/dvdread -ldvdread src/dvdbackup.c + epatch ${FILESDIR}/${PV}-debian-FPE.patch +} + +src_compile() { + $(gcc-getCC) ${CFLAGS} -I/usr/include/dvdread \ + -ldvdread -o dvdbackup src/dvdbackup.c \ + || die "compile failed" } src_install() { - dobin dvdbackup + dobin dvdbackup || die dodoc README } diff --git a/media-video/dvdbackup/files/0.1.1-debian-FPE.patch b/media-video/dvdbackup/files/0.1.1-debian-FPE.patch new file mode 100644 index 000000000000..0f1b9a33a1ed --- /dev/null +++ b/media-video/dvdbackup/files/0.1.1-debian-FPE.patch @@ -0,0 +1,11 @@ +--- src/dvdbackup.c.orig 2002-08-05 02:08:39.000000000 -0400 ++++ src/dvdbackup.c 2004-04-09 02:17:35.382913520 -0400 +@@ -782,7 +782,7 @@ + to consider the second one a feature title we are doing two checks (biggest + biggest - second) /second == 1 + and biggest%second * 3 < biggest */ + +- if ( CheckSizeArray(size_size_array, 0, 1) == 1 ) { ++ if ( title_sets > 1 && CheckSizeArray(size_size_array, 0, 1) == 1 ) { + /* We have a dual DVD with two feature films - now lets see if they have the same amount of chapters*/ + + chapters_1 = 0; diff --git a/media-video/dvdbackup/files/digest-dvdbackup-0.1.1 b/media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r1 index caea4610d6a4..caea4610d6a4 100644 --- a/media-video/dvdbackup/files/digest-dvdbackup-0.1.1 +++ b/media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r1 |