summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-09-05 15:18:32 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-09-05 15:18:32 +0000
commite645c39c7d8a566000b1ede1e1290fe71e56a2d3 (patch)
tree8cdb4aa2e28d9fefe3039aff9b9ba6794d0849e4
parentClosing #58467 (Manifest recommit) (diff)
downloadgentoo-2-e645c39c7d8a566000b1ede1e1290fe71e56a2d3.tar.gz
gentoo-2-e645c39c7d8a566000b1ede1e1290fe71e56a2d3.tar.bz2
gentoo-2-e645c39c7d8a566000b1ede1e1290fe71e56a2d3.zip
Closing #58517
-rw-r--r--media-video/vamps/ChangeLog5
-rw-r--r--media-video/vamps/files/vamps-0.95-amd64.patch12
-rw-r--r--media-video/vamps/vamps-0.95.ebuild9
3 files changed, 23 insertions, 3 deletions
diff --git a/media-video/vamps/ChangeLog b/media-video/vamps/ChangeLog
index bb9941445a69..73cbe18451c3 100644
--- a/media-video/vamps/ChangeLog
+++ b/media-video/vamps/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/vamps
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vamps/ChangeLog,v 1.1 2004/07/23 15:08:02 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vamps/ChangeLog,v 1.2 2004/09/05 15:18:32 aliz Exp $
+
+ 05 Sep 2004; Daniel Ahlberg <aliz@gentoo.org> vamps-0.95.ebuild:
+ Added amd64 keyword, closing #58517.
*vamps-0.95 (23 Jul 2004)
diff --git a/media-video/vamps/files/vamps-0.95-amd64.patch b/media-video/vamps/files/vamps-0.95-amd64.patch
new file mode 100644
index 000000000000..46312bba264b
--- /dev/null
+++ b/media-video/vamps/files/vamps-0.95-amd64.patch
@@ -0,0 +1,12 @@
+diff -u /tmp/vamps-0.95/Makefile ./Makefile
+--- Makefile 2003-12-15 06:55:45.000000000 +0000
++++ Makefile 2004-09-05 15:15:45.473303615 +0000
+@@ -23,7 +23,7 @@
+ all: vamps vamps-play_title lsdvd
+
+ vamps: vamps.o requant.o
+- $(CC) -o $@ $(STATIC) vamps.o requant.o -lpthread
++ $(CC) -o $@ $(STATIC) vamps.o requant.o -lpthread -lm
+ $(STRIP) $@
+
+ requant.o: requant.h putvlc.h getvlc.h
diff --git a/media-video/vamps/vamps-0.95.ebuild b/media-video/vamps/vamps-0.95.ebuild
index 7b40e07d2a85..1f3124f46468 100644
--- a/media-video/vamps/vamps-0.95.ebuild
+++ b/media-video/vamps/vamps-0.95.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vamps/vamps-0.95.ebuild,v 1.2 2004/07/23 15:14:19 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vamps/vamps-0.95.ebuild,v 1.3 2004/09/05 15:18:32 aliz Exp $
inherit eutils
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.heise.de/pub/ct/listings/0401-094.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="dev-perl/GD
dev-perl/Getopt-Long
@@ -18,6 +18,11 @@ DEPEND="dev-perl/GD
>=media-libs/libdvdread-0.9.4
>=media-video/dvdauthor-0.6.10"
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ use amd64 && epatch ${FILESDIR}/${P}-amd64.patch
+}
+
src_compile() {
emake CC="$CC" CFLAGS="$CFLAGS" || die "emake failed"
mv -fv lsdvd lsdvd-vamps # rename to avoid conflict with media-video/lsdvd