[proaudio] [1016] add xmms2-scrobbler from x4x-portage

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1016
Author:   gimpel
Date:     2007-12-12 23:50:23 +0000 (Wed, 12 Dec 2007)

Log Message:
-----------
add xmms2-scrobbler from x4x-portage

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/xmms2-scrobbler/
    trunk/overlays/proaudio/media-sound/xmms2-scrobbler/Manifest
    trunk/overlays/proaudio/media-sound/xmms2-scrobbler/files/
    trunk/overlays/proaudio/media-sound/xmms2-scrobbler/files/digest-xmms2-scrobbler-0.1.3
    trunk/overlays/proaudio/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.1.3.ebuild


Added: trunk/overlays/proaudio/media-sound/xmms2-scrobbler/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/xmms2-scrobbler/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/xmms2-scrobbler/Manifest	2007-12-12 23:50:23 UTC (rev 1016)
@@ -0,0 +1,8 @@
+DIST xmms2-scrobbler-0.1.3.tar.gz 6466 RMD160 13c5d4db3475516e4024f1d2d4002c906f77e572 SHA1 712e63bd40d718d7426b27c378c612deb4a6eb34 SHA256 2c2306eedab88f3b8ee4b8ab07b84405349d35e0ce4a57e300f491f70049cf26
+EBUILD xmms2-scrobbler-0.1.3.ebuild 1314 RMD160 945b2421e7f7c14ac3221c872ff3c7432037193c SHA1 e9994cbe3e5dbf67e54da7937097079affa931fd SHA256 b3fe570fe49eba9bde6c1194721c1799e6790b074fdb87b801d77b9582681262
+MD5 f5e011cc029ed4b30184cffd5670a5d3 xmms2-scrobbler-0.1.3.ebuild 1314
+RMD160 945b2421e7f7c14ac3221c872ff3c7432037193c xmms2-scrobbler-0.1.3.ebuild 1314
+SHA256 b3fe570fe49eba9bde6c1194721c1799e6790b074fdb87b801d77b9582681262 xmms2-scrobbler-0.1.3.ebuild 1314
+MD5 010ffeda1204df536a04c268b6598e07 files/digest-xmms2-scrobbler-0.1.3 259
+RMD160 1f5106504a9fd2c798d9185fb504da03a28140d6 files/digest-xmms2-scrobbler-0.1.3 259
+SHA256 afce1f97ca195e879125e75d95bf6a8284e75c5ae91284e38cf57ae4f6b82e5b files/digest-xmms2-scrobbler-0.1.3 259

Added: trunk/overlays/proaudio/media-sound/xmms2-scrobbler/files/digest-xmms2-scrobbler-0.1.3
===================================================================
--- trunk/overlays/proaudio/media-sound/xmms2-scrobbler/files/digest-xmms2-scrobbler-0.1.3	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/xmms2-scrobbler/files/digest-xmms2-scrobbler-0.1.3	2007-12-12 23:50:23 UTC (rev 1016)
@@ -0,0 +1,3 @@
+MD5 4d7fde80a5a6c963cf46864f2747d773 xmms2-scrobbler-0.1.3.tar.gz 6466
+RMD160 13c5d4db3475516e4024f1d2d4002c906f77e572 xmms2-scrobbler-0.1.3.tar.gz 6466
+SHA256 2c2306eedab88f3b8ee4b8ab07b84405349d35e0ce4a57e300f491f70049cf26 xmms2-scrobbler-0.1.3.tar.gz 6466

Added: trunk/overlays/proaudio/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.1.3.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.1.3.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.1.3.ebuild	2007-12-12 23:50:23 UTC (rev 1016)
@@ -0,0 +1,46 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /cvsroot/x4x/x4x-portage/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.1.3.ebuild,v 1.2 2007/06/19 21:44:43 dangertools Exp $
+
+inherit eutils
+
+DESCRIPTION="XMMS2 AudioScrobbler client"
+HOMEPAGE="http://code-monkey.de/pages/xmms2-scrobbler";
+SRC_URI="http://exodus.xmms.se/~tilman/${P}.tar.gz";
+
+LICENSE="AS-IS"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RDEPEND="|| ( 
+			media-sound/xmms2
+			media-sound/xmms2-git
+		)
+		>=dev-ruby/event-loop-0.2"
+DEPEND="$RDEPEND dev-ruby/rake"
+
+pkg_preinst() {
+	local which_xmms2="xmms2"
+	has_version media-sound/xmms2 2> /dev/null || which_xmms2="xmms2-git"
+	if ! built_with_use media-sound/${which_xmms2} ruby ; then
+		eerror "You didn't build xmms2 with the ruby USE-flag"
+		die
+	fi
+}
+
+src_install() {
+	dodoc README
+	dodoc COPYING
+	dodoc AUTHORS
+	rake DESTDIR=${D} PREFIX=/usr install || die
+}
+
+pkg_postinst() {
+	einfo "xmms2-scrobbler will fail to start until you create a configfile"
+	einfo ""
+	einfo "echo -e 'user: foo' >> ~/.config/xmms2/clients/xmms2-scrobbler/config"
+	einfo "echo -e 'password: bar' >> ~/.config/xmms2/clients/xmms2-scrobbler/config"
+	einfo ""
+	einfo "More info and configuration-options can be found in xmms2-scrobbler's README file"
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/