Initial import, #86934
authorTom Martin <slarti@gentoo.org>
Thu, 15 Sep 2005 18:15:32 +0000 (18:15 +0000)
committerTom Martin <slarti@gentoo.org>
Thu, 15 Sep 2005 18:15:32 +0000 (18:15 +0000)
Package-Manager: portage-2.0.52-r1

media-sound/mpdscribble/ChangeLog [new file with mode: 0644]
media-sound/mpdscribble/Manifest [new file with mode: 0644]
media-sound/mpdscribble/files/digest-mpdscribble-0.2.6 [new file with mode: 0644]
media-sound/mpdscribble/files/mpdscribble.rc [new file with mode: 0644]
media-sound/mpdscribble/metadata.xml [new file with mode: 0644]
media-sound/mpdscribble/mpdscribble-0.2.6.ebuild [new file with mode: 0644]

diff --git a/media-sound/mpdscribble/ChangeLog b/media-sound/mpdscribble/ChangeLog
new file mode 100644 (file)
index 0000000..6c16902
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for media-sound/mpdscribble
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpdscribble/ChangeLog,v 1.1 2005/09/15 18:15:32 slarti Exp $
+
+*mpdscribble-0.2.6 (15 Sep 2005)
+
+  15 Sep 2005; Tom Martin <slarti@gentoo.org> +files/mpdscribble.rc,
+  +metadata.xml, +mpdscribble-0.2.6.ebuild:
+  Initial import, resolves bug 86934. Thanks to Boris Smus <boris@z3.ca>.
+
diff --git a/media-sound/mpdscribble/Manifest b/media-sound/mpdscribble/Manifest
new file mode 100644 (file)
index 0000000..1e946b1
--- /dev/null
@@ -0,0 +1,5 @@
+MD5 7b925c5815b4a16035e0c52deb802ec4 ChangeLog 441
+MD5 847c717bac7225e226bd147fd09b1dde mpdscribble-0.2.6.ebuild 1221
+MD5 ac8292cf54418efa89fa3e29c0c1cacb metadata.xml 686
+MD5 22daeb4585fbe5bdb0cd7f98277cded9 files/mpdscribble.rc 477
+MD5 bb3bc554122fe799b840d3af19e2a511 files/digest-mpdscribble-0.2.6 69
diff --git a/media-sound/mpdscribble/files/digest-mpdscribble-0.2.6 b/media-sound/mpdscribble/files/digest-mpdscribble-0.2.6
new file mode 100644 (file)
index 0000000..16ab796
--- /dev/null
@@ -0,0 +1 @@
+MD5 59e8df6ab235bd650343fe434117c7be mpdscribble-0.2.6.tar.gz 127387
diff --git a/media-sound/mpdscribble/files/mpdscribble.rc b/media-sound/mpdscribble/files/mpdscribble.rc
new file mode 100644 (file)
index 0000000..6aa6cd5
--- /dev/null
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+
+depend() {
+       need net
+}
+
+start () {
+       
+       ebegin "Starting Music Player Daemon Audioscrobbler client"
+       start-stop-daemon --start -p /var/run/mpdscribble.pid -b -m --exec /usr/bin/mpdscribble
+       eend $?
+}
+
+stop () {
+       ebegin "Stopping Music Player Daemon Audioscrobbler Client: mpdscribble"
+       start-stop-daemon --stop --quiet -p /var/run/mpdscribble.pid -m --exec /usr/bin/mpdscribble || eerror "mpdscribble is not running"
+       rm -f /var/run/mpdscribble.pid
+       eend $?
+}
diff --git a/media-sound/mpdscribble/metadata.xml b/media-sound/mpdscribble/metadata.xml
new file mode 100644 (file)
index 0000000..a368504
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>sound</herd>
+       <maintainer>
+               <email>slarti@gentoo.org</email>
+               <name>Tom Martin</name>
+       </maintainer>
+       <longdescription lang="en">
+               A client for the Music Player Daemon that sends information to
+               Audioscrobbler -- a website (www.last.fm) displaying what various people
+               listen to.  This information is then used to show friends, generate
+               recommended listening information, listen to a radio station with a
+               playlist tailored to the user's taste, and to show interesting
+               statistics about your listening habits.
+       </longdescription>
+</pkgmetadata>
+
diff --git a/media-sound/mpdscribble/mpdscribble-0.2.6.ebuild b/media-sound/mpdscribble/mpdscribble-0.2.6.ebuild
new file mode 100644 (file)
index 0000000..13a5ffc
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpdscribble/mpdscribble-0.2.6.ebuild,v 1.1 2005/09/15 18:15:32 slarti Exp $
+
+DESCRIPTION="An MPD client that submits information to audioscrobbler."
+HOMEPAGE="http://scribble.frob.nl/"
+SRC_URI="http://warp.frob.nl/projects/scribble/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+DEPEND=">=dev-libs/glib-2.0
+       >=net-libs/libsoup-2.0
+       >=dev-libs/libxml2-2.0
+       >=net-libs/gnutls-1.2.4
+       >=dev-libs/libgcrypt-1.2.1"
+
+src_install() {
+       make DESTDIR=${D} install || die
+
+       exeinto /usr/share/mpdscribble
+       doexe setup.sh
+
+       doman mpdscribble.1
+       exeinto /etc/init.d
+       newexe ${FILESDIR}/mpdscribble.rc mpdscribble
+
+       dodoc AUTHORS ChangeLog NEWS README TODO
+
+       dodir /var/cache/mpdscribble
+}
+
+pkg_postinst() {
+       einfo ""
+       einfo "Please run:"
+       einfo "  /usr/share/mpdscribble/setup.sh"
+       einfo "in order to configure mpdscribble. If you do this as root, a"
+       einfo "system-wide configuration will be created. Otherwise, a per-user"
+       einfo "configuration file will be created."
+       einfo ""
+       einfo "To start mpdscribble:"
+       einfo "  /etc/init.d/mpdscribble start"
+       einfo ""
+}