summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-06-16 19:39:41 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-06-16 19:39:41 +0000
commit32c55e923a613d8b145c8996ab3bd321a6c8442c (patch)
tree88ca45d2e4f0092d4e22b93e661ee03fcb743b86 /media-plugins
parentPPC stable profile update (diff)
downloadhistorical-32c55e923a613d8b145c8996ab3bd321a6c8442c.tar.gz
historical-32c55e923a613d8b145c8996ab3bd321a6c8442c.tar.bz2
historical-32c55e923a613d8b145c8996ab3bd321a6c8442c.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/ChangeLog11
-rw-r--r--media-plugins/xmms-lyrc/Manifest5
-rw-r--r--media-plugins/xmms-lyrc/files/digest-xmms-lyrc-0.31
-rw-r--r--media-plugins/xmms-lyrc/files/xmms-lyrc-0.3-makefile.patch50
-rw-r--r--media-plugins/xmms-lyrc/metadata.xml5
-rw-r--r--media-plugins/xmms-lyrc/xmms-lyrc-0.3.ebuild40
6 files changed, 112 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..54eef06ec7aa
--- /dev/null
+++ b/media-plugins/xmms-lyrc/Manifest
@@ -0,0 +1,5 @@
+MD5 bca25fc289e83132cc773f2130e53d43 xmms-lyrc-0.3.ebuild 824
+MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 95f866b3e70b622a162348f2a49e58cd ChangeLog 482
+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
+}