summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Medinas <metalgod@gentoo.org>2006-08-18 00:35:32 +0000
committerLuis Medinas <metalgod@gentoo.org>2006-08-18 00:35:32 +0000
commit3fbab74e359c7b542cd01872dbe50f0e1cd3358c (patch)
treec01234117ffcb849aa98c524f834959feb1d3294 /media-plugins/xmms-spc
parentremove old, more on-demand the postinst information thanks to ph <phajdan.jr@... (diff)
downloadgentoo-2-3fbab74e359c7b542cd01872dbe50f0e1cd3358c.tar.gz
gentoo-2-3fbab74e359c7b542cd01872dbe50f0e1cd3358c.tar.bz2
gentoo-2-3fbab74e359c7b542cd01872dbe50f0e1cd3358c.zip
Added a patch to fix makefiles with recent gcc thanks to desbaine@yahoo.com. Fixes bug #143723.
(Portage version: 2.1.1_pre5-r2)
Diffstat (limited to 'media-plugins/xmms-spc')
-rw-r--r--media-plugins/xmms-spc/ChangeLog11
-rw-r--r--media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1-r12
-rw-r--r--media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1-r23
-rw-r--r--media-plugins/xmms-spc/files/xmms-spc-0.2.1-autoconf.patch40
-rw-r--r--media-plugins/xmms-spc/xmms-spc-0.2.1-r2.ebuild43
5 files changed, 97 insertions, 2 deletions
diff --git a/media-plugins/xmms-spc/ChangeLog b/media-plugins/xmms-spc/ChangeLog
index 617658e005bc..177df46fe8a8 100644
--- a/media-plugins/xmms-spc/ChangeLog
+++ b/media-plugins/xmms-spc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-plugins/xmms-spc
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-spc/ChangeLog,v 1.16 2005/10/30 23:38:52 metalgod Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-spc/ChangeLog,v 1.17 2006/08/18 00:35:32 metalgod Exp $
+
+*xmms-spc-0.2.1-r2 (18 Aug 2006)
+
+ 18 Aug 2006; Luis Medinas <metalgod@gentoo.org>
+ +files/xmms-spc-0.2.1-autoconf.patch, +xmms-spc-0.2.1-r2.ebuild:
+ Added a patch to fix makefiles with recent gcc thanks to desbaine@yahoo.com.
+ Fixes bug #143723.
30 Oct 2005; Luis Medinas <metalgod@gentoo.org> xmms-spc-0.2.1-r1.ebuild:
Fix package by adding eautoreconf before elibtoolize. Fixes bug #97046.
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
index 8b8faa601f7d..18ccf2a2355e 100644
--- 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
@@ -1 +1,3 @@
MD5 bb4975661ce7cce2da59f76dd1a29372 spcxmms-0.2.1.tar.bz2 150267
+RMD160 4952c31cd344bf3d7320c6b1a09400996984b91d spcxmms-0.2.1.tar.bz2 150267
+SHA256 9847a01a2aca2a16bfe5efb06ce68af9ce1fe83ab7587bfd5056c1c660f632e9 spcxmms-0.2.1.tar.bz2 150267
diff --git a/media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1-r2 b/media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1-r2
new file mode 100644
index 000000000000..18ccf2a2355e
--- /dev/null
+++ b/media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1-r2
@@ -0,0 +1,3 @@
+MD5 bb4975661ce7cce2da59f76dd1a29372 spcxmms-0.2.1.tar.bz2 150267
+RMD160 4952c31cd344bf3d7320c6b1a09400996984b91d spcxmms-0.2.1.tar.bz2 150267
+SHA256 9847a01a2aca2a16bfe5efb06ce68af9ce1fe83ab7587bfd5056c1c660f632e9 spcxmms-0.2.1.tar.bz2 150267
diff --git a/media-plugins/xmms-spc/files/xmms-spc-0.2.1-autoconf.patch b/media-plugins/xmms-spc/files/xmms-spc-0.2.1-autoconf.patch
new file mode 100644
index 000000000000..9c9f8da98a42
--- /dev/null
+++ b/media-plugins/xmms-spc/files/xmms-spc-0.2.1-autoconf.patch
@@ -0,0 +1,40 @@
+diff -Naur spcxmms-0.2.1/configure.in spcxmms-0.2.1.mine/configure.in
+--- spcxmms-0.2.1/configure.in 2000-10-28 12:02:31.000000000 -0700
++++ spcxmms-0.2.1.mine/configure.in 2006-08-12 13:30:59.000000000 -0700
+@@ -57,5 +57,7 @@
+ AC_DEFINE(ENABLE_XMDSP)
+ fi
+
++AC_CHECK_LIB(pthread, pthread_join)
++
+ dnl Finally create all the generated files
+ AC_OUTPUT(Makefile libspc/Makefile spcplay/Makefile xmms-plugin/Makefile)
+
+diff -Naur spcxmms-0.2.1/spcplay/Makefile.am spcxmms-0.2.1.mine/spcplay/Makefile.am
+--- spcxmms-0.2.1/spcplay/Makefile.am 2006-08-12 13:52:54.000000000 -0700
++++ spcxmms-0.2.1/spcplay/Makefile.am.mine 2006-08-12 13:52:47.000000000 -0700
+@@ -2,5 +2,6 @@
+
+ spcplay_SOURCES = getopt.c getopt1.c getopt.h main.c
+ spcplay_LDADD = ../libspc/libspc.la
++CCLD = $(CXX)
+
+ INCLUDES = -I../libspc
+
+--- spcxmms-0.2.1/xmms-plugin/Makefile.am 2006-08-12 15:37:39.000000000 -0700
++++ spcxmms-0.2.1/xmms-plugin/Makefile.am.mine 2006-08-12 15:38:15.000000000 -0700
+@@ -2,10 +2,13 @@
+
+ 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@ ../libspc/libspc.la
+ libspc_la_SOURCES = spcxmms.c spcxmms.h \
+ interface.c interface.h support.c support.h callbacks.h gui.c
+
+ INCLUDES = @GTK_CFLAGS@ -I../libspc
+
+ EXTRA_DIST = spcxmms.glade
++
++CCLD=$(CXX)
++
diff --git a/media-plugins/xmms-spc/xmms-spc-0.2.1-r2.ebuild b/media-plugins/xmms-spc/xmms-spc-0.2.1-r2.ebuild
new file mode 100644
index 000000000000..bf154a81ae21
--- /dev/null
+++ b/media-plugins/xmms-spc/xmms-spc-0.2.1-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2006 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-r2.ebuild,v 1.1 2006/08/18 00:35:32 metalgod Exp $
+
+IUSE=""
+
+inherit eutils gnuconfig libtool autotools
+
+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 -ppc"
+
+RDEPEND="media-sound/xmms"
+DEPEND="${RDEPEND}
+ sys-devel/automake"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-r1.patch
+ epatch ${FILESDIR}/${P}-amd64.patch
+ epatch ${FILESDIR}/${P}-autoconf.patch
+
+ export WANT_AUTOMAKE=1.4
+ export WANT_AUTOCONF=2.5
+
+ eautoreconf
+ elibtoolize
+ gnuconfig_update
+}
+
+src_install() {
+ make DESTDIR=${D} libdir=`xmms-config --input-plugin-dir` install || die
+ dodoc AUTHORS NEWS README
+}