diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-06-16 19:39:41 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-06-16 19:39:41 +0000 |
commit | b916ed25b7183e1e063248f84bde7b15c6e77190 (patch) | |
tree | 1d6ee47ab4d4334686738be1eb4a3d46d746da2c /media-plugins | |
parent | PPC stable profile update (Manifest recommit) (diff) | |
download | gentoo-2-b916ed25b7183e1e063248f84bde7b15c6e77190.tar.gz gentoo-2-b916ed25b7183e1e063248f84bde7b15c6e77190.tar.bz2 gentoo-2-b916ed25b7183e1e063248f84bde7b15c6e77190.zip |
Initial ebuild submitted in bug #34552 by Eric Villani <caligari@libertysurf.fr>.
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/xmms-lyrc/ChangeLog | 11 | ||||
-rw-r--r-- | media-plugins/xmms-lyrc/Manifest | 3 | ||||
-rw-r--r-- | media-plugins/xmms-lyrc/files/digest-xmms-lyrc-0.3 | 1 | ||||
-rw-r--r-- | media-plugins/xmms-lyrc/files/xmms-lyrc-0.3-makefile.patch | 50 | ||||
-rw-r--r-- | media-plugins/xmms-lyrc/metadata.xml | 5 | ||||
-rw-r--r-- | media-plugins/xmms-lyrc/xmms-lyrc-0.3.ebuild | 40 |
6 files changed, 110 insertions, 0 deletions
diff --git a/media-plugins/xmms-lyrc/ChangeLog b/media-plugins/xmms-lyrc/ChangeLog new file mode 100644 index 000000000000..7d0adaf81160 --- /dev/null +++ b/media-plugins/xmms-lyrc/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-plugins/xmms-lyrc +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-lyrc/ChangeLog,v 1.1 2004/06/16 19:39:41 eradicator Exp $ + +*xmms-lyrc-0.3 (16 Jun 2004) + + 16 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> +metadata.xml, + +files/xmms-lyrc-0.3-makefile.patch, +xmms-lyrc-0.3.ebuild: + Initial ebuild submitted in bug #34552 by Eric Villani + <caligari@libertysurf.fr>. + diff --git a/media-plugins/xmms-lyrc/Manifest b/media-plugins/xmms-lyrc/Manifest new file mode 100644 index 000000000000..ff4b6b0a313e --- /dev/null +++ b/media-plugins/xmms-lyrc/Manifest @@ -0,0 +1,3 @@ +MD5 1c3dc924f9fd8f2cb59b602c94c59e1a xmms-lyrc-0.3.ebuild 714 +MD5 b9f8c4077dd01a35cb47847628da3e83 files/digest-xmms-lyrc-0.3 59 +MD5 8961cf39823cf3024e8fb70cc0e33594 files/xmms-lyrc-0.3-makefile.patch 1637 diff --git a/media-plugins/xmms-lyrc/files/digest-xmms-lyrc-0.3 b/media-plugins/xmms-lyrc/files/digest-xmms-lyrc-0.3 new file mode 100644 index 000000000000..99a553d32ab7 --- /dev/null +++ b/media-plugins/xmms-lyrc/files/digest-xmms-lyrc-0.3 @@ -0,0 +1 @@ +MD5 694b7b2d5f9a3c4dc6b60f5cc42666e3 lyrc-0.3.tar.gz 38053 diff --git a/media-plugins/xmms-lyrc/files/xmms-lyrc-0.3-makefile.patch b/media-plugins/xmms-lyrc/files/xmms-lyrc-0.3-makefile.patch new file mode 100644 index 000000000000..f482712c2a91 --- /dev/null +++ b/media-plugins/xmms-lyrc/files/xmms-lyrc-0.3-makefile.patch @@ -0,0 +1,50 @@ +--- Makefile 2003-11-26 16:59:34.000000000 +0100 ++++ Makefile.gentoo 2004-06-12 14:46:09.260318128 +0200 +@@ -17,7 +17,7 @@ + LFLAGS+=-shared + LFLAGS+=-fPIC + +-all: lyrc.so ++all: mo lyrc.so + + lyrc.so: lyrc.o window.o string_tool.o tag_read.o cd-discid.o lyrc_site.o + @echo Linking +@@ -35,27 +35,28 @@ + clean: + rm -f *.o core *.so* + +-install: all mo ++install: + @echo Installation + @echo ------------ + + @echo "Installing library in `xmms-config --visualization-plugin-dir`" +- @cp -f lyrc.so `xmms-config --visualization-plugin-dir` ++ @mkdir -p ${DESTDIR}`xmms-config --visualization-plugin-dir` ++ @cp -f lyrc.so ${DESTDIR}`xmms-config --visualization-plugin-dir` + + @echo "Installing files in $(INSTALL_DIRECTORY)" +- @mkdir -p $(INSTALL_DIRECTORY) 2>/dev/null +- @cp -f script.py $(INSTALL_DIRECTORY) +- @cp -f submit.py $(INSTALL_DIRECTORY) +- @cp -f adv_script.py $(INSTALL_DIRECTORY) +- @cp -f html/lyrc.jpg $(INSTALL_DIRECTORY) +- @cp -f html/timer.gif $(INSTALL_DIRECTORY) ++ @mkdir -p ${DESTDIR}$(INSTALL_DIRECTORY) 2>/dev/null ++ @cp -f script.py ${DESTDIR}$(INSTALL_DIRECTORY) ++ @cp -f submit.py ${DESTDIR}$(INSTALL_DIRECTORY) ++ @cp -f adv_script.py ${DESTDIR}$(INSTALL_DIRECTORY) ++ @cp -f html/lyrc.jpg ${DESTDIR}$(INSTALL_DIRECTORY) ++ @cp -f html/timer.gif ${DESTDIR}$(INSTALL_DIRECTORY) + + @for i in `ls po/*.mo`; do \ + j=`basename $$i .mo`; \ + dir=`echo "$(LOCALEDIR)/$$j/LC_MESSAGES"`; \ +- mkdir -p $$dir 2>/dev/null; \ ++ mkdir -p ${DESTDIR}$$dir 2>/dev/null; \ + echo "Installing traduction file $$i to $$dir/lyrc.mo"; \ +- cp -f $$i $$dir/lyrc.mo ; \ ++ cp -f $$i ${DESTDIR}$$dir/lyrc.mo ; \ + done + + uninstall: diff --git a/media-plugins/xmms-lyrc/metadata.xml b/media-plugins/xmms-lyrc/metadata.xml new file mode 100644 index 000000000000..e1774e3d9ad7 --- /dev/null +++ b/media-plugins/xmms-lyrc/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +</pkgmetadata> diff --git a/media-plugins/xmms-lyrc/xmms-lyrc-0.3.ebuild b/media-plugins/xmms-lyrc/xmms-lyrc-0.3.ebuild new file mode 100644 index 000000000000..7257fec5ac53 --- /dev/null +++ b/media-plugins/xmms-lyrc/xmms-lyrc-0.3.ebuild @@ -0,0 +1,40 @@ +# 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-lyrc/xmms-lyrc-0.3.ebuild,v 1.1 2004/06/16 19:39:41 eradicator Exp $ + +IUSE="" + +inherit eutils + +MY_PN=${PN/xmms-/} +MY_P=${P/xmms-/} +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="An XMMS plugin for displaying lyrics" +HOMEPAGE="http://www.sourceforge.net/projects/lyrc" +SRC_URI="mirror://sourceforge/lyrc/${MY_P}.tar.gz" +RESTRICT="nomirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~sparc" + +DEPEND="media-sound/xmms + dev-lang/python + dev-libs/libxml2" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-makefile.patch +} + +src_compile() { + emake +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc README Changelog +} |