summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-07-07 21:22:47 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-07-07 21:22:47 +0000
commit647d3d93f04bd36566f6e3a25731279a864c429b (patch)
tree98a4a0fe68aca978c0d3de165d1adea757a1abcf /media-plugins
parentBump runtime snapshot to fix netrw problems with rsync-over-ssh (diff)
downloadhistorical-647d3d93f04bd36566f6e3a25731279a864c429b.tar.gz
historical-647d3d93f04bd36566f6e3a25731279a864c429b.tar.bz2
historical-647d3d93f04bd36566f6e3a25731279a864c429b.zip
Makefile patch for non-x86 platforms closes bug #54265.
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/xmms-morestate/ChangeLog6
-rw-r--r--media-plugins/xmms-morestate/Manifest5
-rw-r--r--media-plugins/xmms-morestate/files/xmms-morestate-1.2-Makefile.patch22
-rw-r--r--media-plugins/xmms-morestate/xmms-morestate-1.2.ebuild17
4 files changed, 43 insertions, 7 deletions
diff --git a/media-plugins/xmms-morestate/ChangeLog b/media-plugins/xmms-morestate/ChangeLog
index 8a99a933bc97..e17b383b2c31 100644
--- a/media-plugins/xmms-morestate/ChangeLog
+++ b/media-plugins/xmms-morestate/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/xmms-morestate
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-morestate/ChangeLog,v 1.6 2004/06/24 23:43:24 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-morestate/ChangeLog,v 1.7 2004/07/07 21:22:47 eradicator Exp $
+
+ 07 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ xmms-morestate-1.2.ebuild:
+ Makefile patch for non-x86 platforms closes bug #54265.
17 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org>
xmms-morestate-1.2.ebuild:
diff --git a/media-plugins/xmms-morestate/Manifest b/media-plugins/xmms-morestate/Manifest
index aba7ca14555d..d29bb6fb0621 100644
--- a/media-plugins/xmms-morestate/Manifest
+++ b/media-plugins/xmms-morestate/Manifest
@@ -1,4 +1,5 @@
-MD5 2c98f9cdf4b9fb1dd6c792d66069df14 xmms-morestate-1.2.ebuild 705
-MD5 cda6e2d0171564e250d3671845c46d40 ChangeLog 920
+MD5 bfbabf0ba99c1d6b65997e8f1371c8a5 ChangeLog 1067
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 e8bb140773a9ab3f7b4bc2d01b890849 xmms-morestate-1.2.ebuild 795
MD5 54950263964f0968677422bd0155c99d files/digest-xmms-morestate-1.2 69
+MD5 d4c21d00cce659fde6fe62daf31fcf85 files/xmms-morestate-1.2-Makefile.patch 1044
diff --git a/media-plugins/xmms-morestate/files/xmms-morestate-1.2-Makefile.patch b/media-plugins/xmms-morestate/files/xmms-morestate-1.2-Makefile.patch
new file mode 100644
index 000000000000..5238077f088a
--- /dev/null
+++ b/media-plugins/xmms-morestate/files/xmms-morestate-1.2-Makefile.patch
@@ -0,0 +1,22 @@
+diff -Naur xmms-morestate-1.2.orig/Makefile.am xmms-morestate-1.2/Makefile.am
+--- xmms-morestate-1.2.orig/Makefile.am 2003-01-29 00:09:00.000000000 -0800
++++ xmms-morestate-1.2/Makefile.am 2004-07-07 14:14:20.197617116 -0700
+@@ -1,5 +1,5 @@
+ bin_PROGRAMS = libmorestate.so
+ libmorestate_so_SOURCES = autoplay.c config.c win_config.c win_about.c misc.c
+ noinst_HEADERS = autoplay.h
+-AM_CFLAGS = -Wall -shared -mcpu=i386
++AM_CFLAGS = -Wall -shared -fPIC -DPIC
+ bindir = @libdir@
+diff -Naur xmms-morestate-1.2.orig/Makefile.in xmms-morestate-1.2/Makefile.in
+--- xmms-morestate-1.2.orig/Makefile.in 2003-08-20 02:12:05.000000000 -0700
++++ xmms-morestate-1.2/Makefile.in 2004-07-07 14:14:34.563223588 -0700
+@@ -106,7 +106,7 @@
+ bin_PROGRAMS = libmorestate.so
+ libmorestate_so_SOURCES = autoplay.c config.c win_config.c win_about.c misc.c
+ noinst_HEADERS = autoplay.h
+-AM_CFLAGS = -Wall -shared -mcpu=i386
++AM_CFLAGS = -Wall -shared -fPIC -DPIC
+ subdir = .
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/media-plugins/xmms-morestate/xmms-morestate-1.2.ebuild b/media-plugins/xmms-morestate/xmms-morestate-1.2.ebuild
index f7c94046ff87..b4b9e0e8a1b6 100644
--- a/media-plugins/xmms-morestate/xmms-morestate-1.2.ebuild
+++ b/media-plugins/xmms-morestate/xmms-morestate-1.2.ebuild
@@ -1,6 +1,10 @@
# Copyright 1999-2004 Gentoo Foundation; alexf <acid DOT punk AT gmx DOT net>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-morestate/xmms-morestate-1.2.ebuild,v 1.6 2004/06/24 23:43:24 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-morestate/xmms-morestate-1.2.ebuild,v 1.7 2004/07/07 21:22:47 eradicator Exp $
+
+IUSE=""
+
+inherit eutils
DESCRIPTION=" XMMS Morestate restores ESD volume, song time, and playing/paused status"
SRC_URI="mirror://sourceforge/xmms-morestate/${P}.tar.gz"
@@ -9,10 +13,15 @@ HOMEPAGE="http://xmms-morestate.sourceforge.net"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 amd64 ~ppc ~sparc"
-IUSE=""
+KEYWORDS="x86 amd64 ~ppc sparc"
+
+DEPEND="media-sound/xmms"
-DEPEND=">=media-sound/xmms-1.2.7"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-Makefile.patch
+}
src_install() {
make DESTDIR=${D} install || die "Install failed."