diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-07 08:52:06 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-07-07 08:52:06 +0000 |
commit | f119c508c1f70ccf55e39879c655494f50b64903 (patch) | |
tree | 77ec6f542c3ce189916f1e691ac71f77ebb34c79 /media-plugins | |
parent | Modified to allow installation of net-im/silc-toolkit and net-im/silc-client ... (diff) | |
download | historical-f119c508c1f70ccf55e39879c655494f50b64903.tar.gz historical-f119c508c1f70ccf55e39879c655494f50b64903.tar.bz2 historical-f119c508c1f70ccf55e39879c655494f50b64903.zip |
-sparc. auto* update so it builds shared library properly.
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/xmms-spc/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/xmms-spc/Manifest | 7 | ||||
-rw-r--r-- | media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1-r1 | 1 | ||||
-rw-r--r-- | media-plugins/xmms-spc/files/xmms-spc-0.2.1-r1.patch | 67 | ||||
-rw-r--r-- | media-plugins/xmms-spc/xmms-spc-0.2.1-r1.ebuild | 43 |
5 files changed, 123 insertions, 3 deletions
diff --git a/media-plugins/xmms-spc/ChangeLog b/media-plugins/xmms-spc/ChangeLog index e7d857e7788a..76d9296fe0c3 100644 --- a/media-plugins/xmms-spc/ChangeLog +++ b/media-plugins/xmms-spc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-plugins/xmms-spc # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-spc/ChangeLog,v 1.8 2004/06/24 23:46:08 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-spc/ChangeLog,v 1.9 2004/07/07 08:52:06 eradicator Exp $ + +*xmms-spc-0.2.1-r1 (07 Jul 2004) + + 07 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + xmms-spc-0.2.1-r1.ebuild, files/xmms-spc-0.2.1-r1.patch: + -sparc. auto* update so it builds shared library properly. 17 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> xmms-spc-0.2.1.ebuild: diff --git a/media-plugins/xmms-spc/Manifest b/media-plugins/xmms-spc/Manifest index 323af18d16e3..0402b1856ad5 100644 --- a/media-plugins/xmms-spc/Manifest +++ b/media-plugins/xmms-spc/Manifest @@ -1,5 +1,8 @@ -MD5 ff41367ad413cd7db43ad6cc47abfb5a xmms-spc-0.2.1.ebuild 1103 -MD5 d93e7bdac9eb81cca14876d361e60edf ChangeLog 917 +MD5 a13079c5f731aa1f35108c4ef9dff9ef ChangeLog 1132 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 +MD5 ff41367ad413cd7db43ad6cc47abfb5a xmms-spc-0.2.1.ebuild 1103 +MD5 dfae9979ee9d3d000a5284afeaf14496 xmms-spc-0.2.1-r1.ebuild 947 MD5 2398436193eb0bbad90b6062d8d09980 files/digest-xmms-spc-0.2.1 66 MD5 c34140815698b64062ff81e0a6ad01de files/xmms-spc-0.2.1.patch 991 +MD5 73f665e685e8e66c587a7ec694f1b05f files/xmms-spc-0.2.1-r1.patch 2905 +MD5 2398436193eb0bbad90b6062d8d09980 files/digest-xmms-spc-0.2.1-r1 66 diff --git a/media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1-r1 b/media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1-r1 new file mode 100644 index 000000000000..8b8faa601f7d --- /dev/null +++ b/media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1-r1 @@ -0,0 +1 @@ +MD5 bb4975661ce7cce2da59f76dd1a29372 spcxmms-0.2.1.tar.bz2 150267 diff --git a/media-plugins/xmms-spc/files/xmms-spc-0.2.1-r1.patch b/media-plugins/xmms-spc/files/xmms-spc-0.2.1-r1.patch new file mode 100644 index 000000000000..dad6a533ea0c --- /dev/null +++ b/media-plugins/xmms-spc/files/xmms-spc-0.2.1-r1.patch @@ -0,0 +1,67 @@ +diff -Naur spcxmms-0.2.1.orig/libspc/Makefile.am spcxmms-0.2.1/libspc/Makefile.am +--- spcxmms-0.2.1.orig/libspc/Makefile.am 2000-10-13 01:16:38.000000000 -0700 ++++ spcxmms-0.2.1/libspc/Makefile.am 2004-07-07 01:21:44.933579000 -0700 +@@ -5,3 +5,6 @@ + apu.cpp apu.h apumem.h globals.cpp soundux.cpp soundux.h \ + spc700.cpp spc700.h port.h snes9x.h memmap.h + ++CFLAGS = @CFLAGS@ -fPIC -DPIC ++CXXFLAGS = @CXXFLAGS@ -fPIC -DPIC ++ +diff -Naur spcxmms-0.2.1.orig/libspc/soundux.cpp spcxmms-0.2.1/libspc/soundux.cpp +--- spcxmms-0.2.1.orig/libspc/soundux.cpp 2000-07-04 23:26:38.000000000 -0700 ++++ spcxmms-0.2.1/libspc/soundux.cpp 2004-07-07 01:20:10.122594000 -0700 +@@ -414,7 +414,7 @@ + if (SoundData.channels[channel].type == SOUND_NOISE) + hertz = NoiseFreq [APU.DSP [APU_FLG] & 0x1f]; + SoundData.channels[channel].frequency = (int) +- (((int64) hertz * FIXED_POINT) / so.playback_rate); ++ ((((int64) hertz * FIXED_POINT) / so.playback_rate) * .980); + } + } + +diff -Naur spcxmms-0.2.1.orig/spcplay/Makefile.in spcxmms-0.2.1/spcplay/Makefile.in +--- spcxmms-0.2.1.orig/spcplay/Makefile.in 2000-10-28 12:10:04.000000000 -0700 ++++ spcxmms-0.2.1/spcplay/Makefile.in 2004-07-07 01:16:35.311275000 -0700 +@@ -108,7 +108,7 @@ + LIBS = @LIBS@ + spcplay_OBJECTS = getopt.o getopt1.o main.o + spcplay_DEPENDENCIES = ../libspc/libspc.la +-spcplay_LDFLAGS = ++spcplay_LDFLAGS = -lstdc++ + CFLAGS = @CFLAGS@ + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +diff -Naur spcxmms-0.2.1.orig/xmms-plugin/Makefile.in spcxmms-0.2.1/xmms-plugin/Makefile.in +--- spcxmms-0.2.1.orig/xmms-plugin/Makefile.in 2000-10-28 12:10:05.000000000 -0700 ++++ spcxmms-0.2.1/xmms-plugin/Makefile.in 2004-07-07 01:16:35.322275000 -0700 +@@ -93,7 +93,7 @@ + + lib_LTLIBRARIES = libspc.la + libspc_la_LDFLAGS = -module -avoid-version +-libspc_la_LIBADD = @GTK_LIBS@ @PTHREAD_LIBS@ ../libspc/libspc.la ++libspc_la_LIBADD = @GTK_LIBS@ -lstdc++ @PTHREAD_LIBS@ ../libspc/libspc.la + libspc_la_SOURCES = spcxmms.c spcxmms.h interface.c interface.h support.c support.h callbacks.h gui.c + + +diff -Naur spcxmms-0.2.1.orig/xmms-plugin/spcxmms.c spcxmms-0.2.1/xmms-plugin/spcxmms.c +--- spcxmms-0.2.1.orig/xmms-plugin/spcxmms.c 2000-10-13 01:11:05.000000000 -0700 ++++ spcxmms-0.2.1/xmms-plugin/spcxmms.c 2004-07-07 01:16:34.900253000 -0700 +@@ -106,6 +106,7 @@ + + static void *play_loop(void *arg) + { ++ long int i = 0; + gint8 *mixbuf; + mixbuf = g_new(guint8, mixbuf_size); + +@@ -113,7 +114,9 @@ + SPC_update(mixbuf); + spc_ip.add_vis_pcm(spc_ip.output->written_time(), FMT_S16_LE, 2, + mixbuf_size, mixbuf); ++ i++; + ++ if (i >= 18300) going = FALSE; + while (spc_ip.output->buffer_free() < mixbuf_size && going) + xmms_usleep(10000); + diff --git a/media-plugins/xmms-spc/xmms-spc-0.2.1-r1.ebuild b/media-plugins/xmms-spc/xmms-spc-0.2.1-r1.ebuild new file mode 100644 index 000000000000..9fdc88574169 --- /dev/null +++ b/media-plugins/xmms-spc/xmms-spc-0.2.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-spc/xmms-spc-0.2.1-r1.ebuild,v 1.1 2004/07/07 08:52:06 eradicator Exp $ + +IUSE="" + +inherit eutils gnuconfig libtool + +MY_P=spcxmms-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="SPC Plugun for XMMS" +HOMEPAGE="http://www.self-core.org/~kaoru-k/" +SRC_URI="http://www.self-core.org/~kaoru-k/pub/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +#-sparc: 0.2.1-r1: audio does not play +KEYWORDS="~x86 ~amd64 -sparc" + +RDEPEND="media-sound/xmms" +DEPEND="${RDEPEND} + sys-devel/automake" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${PF}.patch + + export WANT_AUTOMAKE=1.4 + export WANT_AUTOCONF=2.5 + + aclocal || die + automake || die + autoconf || die + elibtoolize + gnuconfig_update +} + +src_install() { + make DESTDIR=${D} libdir=/usr/lib/xmms/Input install || die + dodoc AUTHORS COPYING NEWS README +} |