diff options
author | Tom Martin <slarti@gentoo.org> | 2005-09-15 18:15:32 +0000 |
---|---|---|
committer | Tom Martin <slarti@gentoo.org> | 2005-09-15 18:15:32 +0000 |
commit | b0f682b56edf67664f0e75b9456e3ca0f154f34d (patch) | |
tree | b5bdb319623f4a86b067b50ecb994bf03a34608d /media-sound/mpdscribble | |
parent | Re-added ~ppc keyword for 0.8.7, marked 0.8.2 stable on all archs. (diff) | |
download | gentoo-2-b0f682b56edf67664f0e75b9456e3ca0f154f34d.tar.gz gentoo-2-b0f682b56edf67664f0e75b9456e3ca0f154f34d.tar.bz2 gentoo-2-b0f682b56edf67664f0e75b9456e3ca0f154f34d.zip |
Initial import, #86934
(Portage version: 2.0.52-r1)
Diffstat (limited to 'media-sound/mpdscribble')
-rw-r--r-- | media-sound/mpdscribble/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/mpdscribble/Manifest | 4 | ||||
-rw-r--r-- | media-sound/mpdscribble/files/digest-mpdscribble-0.2.6 | 1 | ||||
-rw-r--r-- | media-sound/mpdscribble/files/mpdscribble.rc | 19 | ||||
-rw-r--r-- | media-sound/mpdscribble/metadata.xml | 18 | ||||
-rw-r--r-- | media-sound/mpdscribble/mpdscribble-0.2.6.ebuild | 44 |
6 files changed, 96 insertions, 0 deletions
diff --git a/media-sound/mpdscribble/ChangeLog b/media-sound/mpdscribble/ChangeLog new file mode 100644 index 000000000000..6c16902f9fca --- /dev/null +++ b/media-sound/mpdscribble/ChangeLog @@ -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 index 000000000000..206b4769a6e4 --- /dev/null +++ b/media-sound/mpdscribble/Manifest @@ -0,0 +1,4 @@ +MD5 d8df40b157d2fe2a7de7bdc3c586aded mpdscribble-0.2.6.ebuild 1113 +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 index 000000000000..16ab7967c708 --- /dev/null +++ b/media-sound/mpdscribble/files/digest-mpdscribble-0.2.6 @@ -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 index 000000000000..6aa6cd5c46c1 --- /dev/null +++ b/media-sound/mpdscribble/files/mpdscribble.rc @@ -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 index 000000000000..a3685040977e --- /dev/null +++ b/media-sound/mpdscribble/metadata.xml @@ -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 index 000000000000..13a5ffc27b87 --- /dev/null +++ b/media-sound/mpdscribble/mpdscribble-0.2.6.ebuild @@ -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 "" +} |