diff options
-rw-r--r-- | media-plugins/xmms-imms/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/xmms-imms/Manifest | 2 | ||||
-rw-r--r-- | media-plugins/xmms-imms/files/digest-xmms-imms-1.1 | 1 | ||||
-rw-r--r-- | media-plugins/xmms-imms/files/xmms-imms-1.0-makefile.patch | 33 | ||||
-rw-r--r-- | media-plugins/xmms-imms/files/xmms-imms-1.1-makefile.patch | 74 | ||||
-rw-r--r-- | media-plugins/xmms-imms/xmms-imms-1.1.ebuild | 47 |
6 files changed, 131 insertions, 34 deletions
diff --git a/media-plugins/xmms-imms/ChangeLog b/media-plugins/xmms-imms/ChangeLog index f3b78303fe25..3c2aa879b1bf 100644 --- a/media-plugins/xmms-imms/ChangeLog +++ b/media-plugins/xmms-imms/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-plugins/xmms-imms # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-imms/ChangeLog,v 1.10 2004/04/17 16:21:15 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-imms/ChangeLog,v 1.11 2004/04/20 07:07:32 eradicator Exp $ + +*xmms-imms-1.1 (19 Apr 2004) + + 19 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> xmms-imms-1.1.ebuild, + files/xmms-imms-1.0-makefile.patch, files/xmms-imms-1.1-makefile.patch: + Version bump. Bug #48007. 17 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> xmms-imms-0.9.9.ebuild, xmms-imms-1.0.1.ebuild, xmms-imms-1.0.ebuild: diff --git a/media-plugins/xmms-imms/Manifest b/media-plugins/xmms-imms/Manifest index ec72090af73e..940e23b4e48b 100644 --- a/media-plugins/xmms-imms/Manifest +++ b/media-plugins/xmms-imms/Manifest @@ -1,6 +1,8 @@ MD5 3c94038e242d543a596d865f7e560716 xmms-imms-1.0.1.ebuild 1089 +MD5 3c94038e242d543a596d865f7e560716 xmms-imms-1.1.ebuild 1089 MD5 a12f192ab2a52583e7f0d21bd8162a07 ChangeLog 1866 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 +MD5 5b150539965e8d54fbd01a73a683bff0 files/digest-xmms-imms-1.1 60 MD5 de370ccf262cc471d299d6e6b6c90ea3 files/digest-xmms-imms-1.0.1 62 MD5 e3bdf466aa243289b31c75a545ce2aa8 files/xmms-imms-1.0-makefile.patch 1131 MD5 9fb82a2c977bec8a2596cd4b5c04c004 files/xmms-imms-1.0.1-makefile.patch 2451 diff --git a/media-plugins/xmms-imms/files/digest-xmms-imms-1.1 b/media-plugins/xmms-imms/files/digest-xmms-imms-1.1 new file mode 100644 index 000000000000..96b56c47a531 --- /dev/null +++ b/media-plugins/xmms-imms/files/digest-xmms-imms-1.1 @@ -0,0 +1 @@ +MD5 b229b76f183ff2b3d4d1eccfd0569da2 imms-1.1.tar.bz2 48912 diff --git a/media-plugins/xmms-imms/files/xmms-imms-1.0-makefile.patch b/media-plugins/xmms-imms/files/xmms-imms-1.0-makefile.patch deleted file mode 100644 index 37ecdfe97f94..000000000000 --- a/media-plugins/xmms-imms/files/xmms-imms-1.0-makefile.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- rules.mk.orig 2004-02-04 23:59:29.000000000 -0800 -+++ rules.mk 2004-02-04 23:59:53.000000000 -0800 -@@ -11,12 +11,12 @@ - $(AR) $(ARFLAGS) $@ $(CORE_OBJ) - - %.o: %.cc vars.mk -- @$(CXX) $(CPPFLAGS) -M -E $< > .$*.d -- $(CXX) $(CPPFLAGS) -c $< -o $@ -+ @$(CXX) $(CPPFLAGS) $(CXXFLAGS) -M -E $< > .$*.d -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@ - - %.o: %.c vars.mk -- @$(CXX) $(CFLAGS) -M -E $< > .$*.d -- $(CC) $(CFLAGS) -c $< -o $@ -+ @$(CC) $(CPPFLAGS) $(CFLAGS) -M -E $< > .$*.d -+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ - - .PHONY: clean distclean - ---- vars.mk.in.orig 2004-02-05 00:07:06.000000000 -0800 -+++ vars.mk.in 2004-02-05 00:08:00.000000000 -0800 -@@ -9,8 +9,9 @@ - CORE_OBJ = imms.o immsdb.o fetcher.o picker.o spectrum.o sqldb.o \ - songinfo.o regexx.o strmanip.o levenshtein.o xidle.o md5.o - --CFLAGS = `xmms-config --cflags` @DEBUG_CFLAGS@ -Wall -fPIC -D_REENTRANT --CPPFLAGS = ${CFLAGS} -pedantic -fno-rtti -+CFLAGS = -Wall -fPIC -D_REENTRANT @CFLAGS@ -+CXXFLAGS = -fPIC -D_REENTRANT -pedantic -fno-rtti @CXXFLAGS@ -+CPPFLAGS = `xmms-config --cflags` @CPPFLAGS@ - LDFLAGS = `xmms-config --libs` @LIBS@ - ARFLAGS = rs - diff --git a/media-plugins/xmms-imms/files/xmms-imms-1.1-makefile.patch b/media-plugins/xmms-imms/files/xmms-imms-1.1-makefile.patch new file mode 100644 index 000000000000..8c53c392cd96 --- /dev/null +++ b/media-plugins/xmms-imms/files/xmms-imms-1.1-makefile.patch @@ -0,0 +1,74 @@ +diff -Naur imms-1.1.orig/rules.mk imms-1.1/rules.mk +--- imms-1.1.orig/rules.mk 2004-04-15 13:15:24.000000000 -0700 ++++ imms-1.1/rules.mk 2004-04-19 23:52:20.000000000 -0700 +@@ -14,12 +14,12 @@ + $(AR) $(ARFLAGS) $@ $(CORE_OBJ) + + %.o: %.cc vars.mk +- @$(CXX) $(CXXFLAGS) -M -E $< > .$*.d +- $(CXX) $(CXXFLAGS) -c $< -o $@ ++ @$(CXX) $(CPPFLAGS) $(CXXFLAGS) -M -E $< > .$*.d ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@ + + %.o: %.c vars.mk +- @$(CXX) $(CPPFLAGS) -M -E $< > .$*.d +- $(CC) $(CPPFLAGS) -c $< -o $@ ++ @$(CC) $(CPPFLAGS) $(CFLAGS) -M -E $< > .$*.d ++ $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ + + .PHONY: clean distclean + +@@ -48,26 +48,8 @@ + tar -C /tmp/ -cz imms-$(VERSION)/ -f imms-$(VERSION).tar.gz + rm -rf /tmp/imms-$(VERSION)/ + +-.PHONY: install install-user install-system user-message system-message ++.PHONY: install + +-ifeq ($(shell id -u), 0) +- install: system-message install-system +-else +- install: user-message install-user +-endif +- +-system-message: +- $(warning Defaulting to installing for all users.) +- $(warning Use 'make install-user' to install for the current user only.) +- +-install-system: libimms.so +- ${INSTALL_PROGRAM} libimms.so ${DESTDIR}`xmms-config --visualization-plugin-dir` +- +-user-message: +- $(warning Defaulting to installing for current user only.) +- $(warning Use 'make install-system' to install for all users.) +- +-install-user: libimms.so +- mkdir -p ${HOME}/.xmms/Plugins/Visualization/ +- rm -f ${HOME}/.xmms/Plugins/General/libimms.so +- ${INSTALL_PROGRAM} libimms.so ${HOME}/.xmms/Plugins/Visualization/ ++install: all ++ mkdir -p $(DESTDIR)`xmms-config --visualization-plugin-dir` ++ $(INSTALL_PROGRAM) libimms.so $(DESTDIR)`xmms-config --visualization-plugin-dir` +diff -Naur imms-1.1.orig/vars.mk.in imms-1.1/vars.mk.in +--- imms-1.1.orig/vars.mk.in 2004-04-15 13:15:24.000000000 -0700 ++++ imms-1.1/vars.mk.in 2004-04-19 23:54:58.000000000 -0700 +@@ -2,7 +2,6 @@ + CXX = @CXX@ + VERSION = @PACKAGE_VERSION@ + INSTALL_PROGRAM = @INSTALL@ +-DESTDIR = @prefix@ + + SHELL = bash + XMMS_OBJ = @PLUGIN_OBJ@ interface.o player.o libimmscore.a +@@ -10,8 +9,9 @@ + fetcher.o picker.o spectrum.o songinfo.o comm.o server.o \ + regexx.o utils.o strmanip.o levenshtein.o xidle.o md5.o + +-CPPFLAGS = `xmms-config --cflags` @XCPPFLAGS@ -Wall -fPIC -D_REENTRANT +-CXXFLAGS = ${CPPFLAGS} -fno-rtti ++CPPFLAGS = `xmms-config --cflags` @XCPPFLAGS@ @CPPFLAGS@ -D_REENTRANT ++CFLAGS = -fPIC @CFLAGS@ ++CXXFLAGS = -fPIC -fno-rtti @CXXFLAGS@ + LDFLAGS = `xmms-config --libs` @LIBS@ + ARFLAGS = rs + diff --git a/media-plugins/xmms-imms/xmms-imms-1.1.ebuild b/media-plugins/xmms-imms/xmms-imms-1.1.ebuild new file mode 100644 index 000000000000..e318079d66eb --- /dev/null +++ b/media-plugins/xmms-imms/xmms-imms-1.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-imms/xmms-imms-1.1.ebuild,v 1.1 2004/04/20 07:07:32 eradicator Exp $ + +inherit eutils + +MY_P=${P/xmms-/} + +DESCRIPTION="intelligent XMMS playlist plug-in that tracks your listening patterns and dynamically adapts to your taste" +HOMEPAGE="http://www.luminal.org/phpwiki/index.php/IMMS" +SRC_URI="mirror://sourceforge/imms/${MY_P}.tar.bz2" +RESTRICT="nomirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" + +IUSE="oggvorbis" + +RDEPEND=">=dev-db/sqlite-2.8 + >=media-libs/id3lib-3.8 + >=media-sound/xmms-1.2.7-r20 + oggvorbis? ( >=media-libs/libvorbis-1.0 ) + >=dev-libs/libpcre-4.3" + +DEPEND="$RDEPEND + >=sys-devel/autoconf-2.5 + >=sys-apps/sed-4.0.7" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-makefile.patch + + WANT_AUTOCONF=2.5 + autoheader + autoconf +} + +src_install () { + exeinto "`xmms-config --visualization-plugin-dir`" + doexe libimms.so || die + dodoc INSTALL LICENSE README +} |