summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-07-06 22:36:27 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-07-06 22:36:27 +0000
commit50eb7613b1deb19e874202594cc3773a85461364 (patch)
tree131a67bab6b26fddb93837f9ef634b0f59dacf4c
parentPatch to use shared libs. -amd64. (Manifest recommit) (diff)
downloadgentoo-2-50eb7613b1deb19e874202594cc3773a85461364.tar.gz
gentoo-2-50eb7613b1deb19e874202594cc3773a85461364.tar.bz2
gentoo-2-50eb7613b1deb19e874202594cc3773a85461364.zip
~amd64 -sparc.
-rw-r--r--media-plugins/dumb-xmms/ChangeLog5
-rw-r--r--media-plugins/dumb-xmms/dumb-xmms-0.1.ebuild16
-rw-r--r--media-plugins/dumb-xmms/files/dumb-xmms-0.1-PIC.patch12
3 files changed, 29 insertions, 4 deletions
diff --git a/media-plugins/dumb-xmms/ChangeLog b/media-plugins/dumb-xmms/ChangeLog
index 1806d64f9efa..6a9ef008d7cb 100644
--- a/media-plugins/dumb-xmms/ChangeLog
+++ b/media-plugins/dumb-xmms/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-plugins/dumb-xmms
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/dumb-xmms/ChangeLog,v 1.3 2004/06/24 23:27:33 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/dumb-xmms/ChangeLog,v 1.4 2004/07/06 22:36:27 eradicator Exp $
+
+ 06 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> dumb-xmms-0.1.ebuild:
+ ~amd64 -sparc.
26 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org> dumb-xmms-0.1.ebuild:
Stable in x86.
diff --git a/media-plugins/dumb-xmms/dumb-xmms-0.1.ebuild b/media-plugins/dumb-xmms/dumb-xmms-0.1.ebuild
index 83460de30676..bfa5b3331eae 100644
--- a/media-plugins/dumb-xmms/dumb-xmms-0.1.ebuild
+++ b/media-plugins/dumb-xmms/dumb-xmms-0.1.ebuild
@@ -1,6 +1,10 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/dumb-xmms/dumb-xmms-0.1.ebuild,v 1.4 2004/06/24 23:27:33 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/dumb-xmms/dumb-xmms-0.1.ebuild,v 1.5 2004/07/06 22:36:27 eradicator Exp $
+
+IUSE=""
+
+inherit eutils
DESCRIPTION="Plug-in for accurate, high-quality IT/XM/S3M/MOD playback."
HOMEPAGE="http://dumb.sourceforge.net/"
@@ -8,14 +12,20 @@ SRC_URI="mirror://sourceforge/dumb/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86"
+# -sparc: 0.1: noise playback - eradicator
+KEYWORDS="x86 ~amd64 -sparc"
-IUSE=""
DEPEND=">=media-sound/xmms-1.2.7-r20
>=media-libs/dumb-0.9.2"
S=${WORKDIR}/${PN}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-PIC.patch
+}
+
src_compile() {
emake || die
}
diff --git a/media-plugins/dumb-xmms/files/dumb-xmms-0.1-PIC.patch b/media-plugins/dumb-xmms/files/dumb-xmms-0.1-PIC.patch
new file mode 100644
index 000000000000..6c9226518293
--- /dev/null
+++ b/media-plugins/dumb-xmms/files/dumb-xmms-0.1-PIC.patch
@@ -0,0 +1,12 @@
+diff -Naur dumb-xmms.orig/Makefile.inc dumb-xmms/Makefile.inc
+--- dumb-xmms.orig/Makefile.inc 2003-04-08 09:36:00.000000000 -0700
++++ dumb-xmms/Makefile.inc 2004-07-06 14:24:47.083083262 -0700
+@@ -6,7 +6,7 @@
+ $(CC) -o $@ $^ -ldumb -lxmms -shared
+
+ $(OBJDIR)/%.o: %.c
+- $(CC) -c -o $@ $(CFLAGS) $<
++ $(CC) -fPIC -DPIC -c -o $@ $(CFLAGS) $<
+
+ $(DEPDIR)/%.d: %.c
+ $(CC) -MM $(CFLAGS) $< | sed "s/^$*\.o:/$(OBJDIR)\/$*\.o $(DEPDIR)\/$*\.d:/" > $@