diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-06 23:07:03 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-06 23:07:03 +0000 |
commit | b2a6749c54020b5fd99d192315d04354a7b36548 (patch) | |
tree | c59ff608e1dfc8e2865b633b8096ee5ebafaebae /media-plugins | |
parent | temporary remove of 0.6.0-r2 (Manifest recommit) (diff) | |
download | gentoo-2-b2a6749c54020b5fd99d192315d04354a7b36548.tar.gz gentoo-2-b2a6749c54020b5fd99d192315d04354a7b36548.tar.bz2 gentoo-2-b2a6749c54020b5fd99d192315d04354a7b36548.zip |
-sparc ~amd64
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/xmms-crystality/ChangeLog | 6 | ||||
-rw-r--r-- | media-plugins/xmms-crystality/files/xmms-crystality-0.92-PIC.patch | 37 | ||||
-rw-r--r-- | media-plugins/xmms-crystality/xmms-crystality-0.92.ebuild | 9 |
3 files changed, 48 insertions, 4 deletions
diff --git a/media-plugins/xmms-crystality/ChangeLog b/media-plugins/xmms-crystality/ChangeLog index ea709b597aab..4524a1864e3b 100644 --- a/media-plugins/xmms-crystality/ChangeLog +++ b/media-plugins/xmms-crystality/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/xmms-crystality # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-crystality/ChangeLog,v 1.7 2004/06/24 23:38:18 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-crystality/ChangeLog,v 1.8 2004/07/06 23:07:03 eradicator Exp $ + + 06 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + xmms-crystality-0.92.ebuild: + -sparc ~amd64 12 May 2004; Jeremy Huddleston <eradicator@gentoo.org> xmms-crystality-0.92.ebuild: diff --git a/media-plugins/xmms-crystality/files/xmms-crystality-0.92-PIC.patch b/media-plugins/xmms-crystality/files/xmms-crystality-0.92-PIC.patch new file mode 100644 index 000000000000..30333a74423f --- /dev/null +++ b/media-plugins/xmms-crystality/files/xmms-crystality-0.92-PIC.patch @@ -0,0 +1,37 @@ +diff -Naur crystality-plugin-0.92.orig/Makefile crystality-plugin-0.92/Makefile +--- crystality-plugin-0.92.orig/Makefile 2001-08-12 16:41:14.000000000 -0700 ++++ crystality-plugin-0.92/Makefile 2004-07-06 15:59:23.720725935 -0700 +@@ -1,13 +1,13 @@ +-GTK_CFLAGS= $(shell gtk-config --cflags) ++GTK_CFLAGS= $(shell gtk-config --cflags) -fPIC -DPIC + + XMMS_PLUGIN= libcrystality.so +-XMMS_CFLAGS= $(shell xmms-config --cflags) ++XMMS_CFLAGS= $(shell xmms-config --cflags) -fPIC -DPIC + XMMS_PLUGINDIR= $(shell xmms-config --effect-plugin-dir) + + STDIO_PLUGIN= crystality-stdio + STDIO_LIBS= -lpthread $(shell gtk-config --libs) + +-CFLAGS= -s -mpentium -O6 -Wall -ffast-math -fomit-frame-pointer -finline-functions -fexpensive-optimizations $(GTK_CFLAGS) ++MYCFLAGS= $(GTK_CFLAGS) $(XMMS_CFLAGS) $(CFLAGS) + + + TARGETS= $(XMMS_PLUGIN) $(STDIO_PLUGIN) +@@ -15,13 +15,13 @@ + all : $(TARGETS) + + $(STDIO_PLUGIN): crystality.o gui.o stdio.o +- cc $(CFLAGS) -o$(STDIO_PLUGIN) $(STDIO_LIBS) crystality.o gui.o stdio.o -lpthread ++ cc $(MYCFLAGS) -o$(STDIO_PLUGIN) $(STDIO_LIBS) crystality.o gui.o stdio.o -lpthread + + $(XMMS_PLUGIN): crystality.o gui.o xmms.o +- cc $(CFLAGS) -o$(XMMS_PLUGIN) -shared -fPIC crystality.o gui.o xmms.o ++ cc $(MYCFLAGS) -o$(XMMS_PLUGIN) -shared -fPIC crystality.o gui.o xmms.o + + .c.o : +- cc $(CFLAGS) -c $< ++ cc $(MYCFLAGS) -c $< + + clean : + rm -f $(TARGETS) core *\.o diff --git a/media-plugins/xmms-crystality/xmms-crystality-0.92.ebuild b/media-plugins/xmms-crystality/xmms-crystality-0.92.ebuild index 9a569900d16b..e4fd44414783 100644 --- a/media-plugins/xmms-crystality/xmms-crystality-0.92.ebuild +++ b/media-plugins/xmms-crystality/xmms-crystality-0.92.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-crystality/xmms-crystality-0.92.ebuild,v 1.6 2004/06/24 23:38:18 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-crystality/xmms-crystality-0.92.ebuild,v 1.7 2004/07/06 23:07:03 eradicator Exp $ IUSE="" @@ -16,7 +16,9 @@ SRC_URI="http://fanthom.math.put.poznan.pl/~gyver/crystality/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ~ppc" +# -sparc: 0.92: static noise when enabled +# ~amd64: 0.92: distortions in the effects... +KEYWORDS="x86 ~ppc -sparc ~amd64" DEPEND="media-sound/xmms" @@ -24,10 +26,11 @@ src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-gcc3.patch + epatch ${FILESDIR}/${P}-PIC.patch } src_compile() { - emake CFLAGS="${CFLAGS} `gtk-config --cflags`" || die + emake CFLAGS="${CFLAGS}" || die } src_install() { |