summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-07-03 08:41:09 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-07-03 08:41:09 +0000
commiteca28e04cf4d131582e4e69a6c523aaa87430014 (patch)
tree7378759fe23215a4b8d400915564de3a24fd6293 /media-plugins/xmms-sid/xmms-sid-0.8.0_beta10.ebuild
parent--with-pic for xmms-sid to work with libsidplay2 on amd64. (diff)
downloadhistorical-eca28e04cf4d131582e4e69a6c523aaa87430014.tar.gz
historical-eca28e04cf4d131582e4e69a6c523aaa87430014.tar.bz2
historical-eca28e04cf4d131582e4e69a6c523aaa87430014.zip
libsidplay2 compatibility. Added ~amd64.
Diffstat (limited to 'media-plugins/xmms-sid/xmms-sid-0.8.0_beta10.ebuild')
-rw-r--r--media-plugins/xmms-sid/xmms-sid-0.8.0_beta10.ebuild26
1 files changed, 22 insertions, 4 deletions
diff --git a/media-plugins/xmms-sid/xmms-sid-0.8.0_beta10.ebuild b/media-plugins/xmms-sid/xmms-sid-0.8.0_beta10.ebuild
index 1eaf8a0318b3..3f3aa75943d0 100644
--- a/media-plugins/xmms-sid/xmms-sid-0.8.0_beta10.ebuild
+++ b/media-plugins/xmms-sid/xmms-sid-0.8.0_beta10.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-plugins/xmms-sid/xmms-sid-0.8.0_beta10.ebuild,v 1.3 2004/06/24 23:45:37 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-sid/xmms-sid-0.8.0_beta10.ebuild,v 1.4 2004/07/03 08:41:09 eradicator Exp $
MY_PV=${PV/_beta/beta}
MY_P=${PN}-${MY_PV}
@@ -11,12 +11,30 @@ SRC_URI="http://tnsp.org/xs-files/${MY_P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc ~alpha ~hppa ~ppc"
+KEYWORDS="~x86 ~sparc ~alpha ~hppa ~ppc ~amd64"
IUSE=""
-DEPEND="media-sound/xmms
- =media-libs/libsidplay-1.36*"
+# This really NEEDs one of the libsidplays, but unfortunately we need to RDEPEND on both for
+# GRP to work right.
+RDEPEND="media-sound/xmms
+ =media-libs/libsidplay-1*
+ !alpha? ( !hppa? ( =media-libs/libsidplay-2* ) )"
+
+DEPEND="${RDEPEND}
+ >=sys-devel/automake-1.7"
+
+src_unpack() {
+ unpack ${A}
+
+ export WANT_AUTOMAKE=1.7
+ export WANT_AUTOCONF=2.5
+
+ cd ${S}
+ aclocal -I . || die
+ automake --foreign -v || die
+ autoconf || die
+}
src_install () {
make DESTDIR=${D} install || die