summaryrefslogtreecommitdiff
path: root/media-sound/mpdscribble
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/mpdscribble
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/mpdscribble')
-rw-r--r--media-sound/mpdscribble/Manifest7
-rw-r--r--media-sound/mpdscribble/files/mpdscribble.rc20
-rw-r--r--media-sound/mpdscribble/metadata.xml19
-rw-r--r--media-sound/mpdscribble/mpdscribble-0.22.ebuild32
-rw-r--r--media-sound/mpdscribble/mpdscribble-9999.ebuild37
5 files changed, 115 insertions, 0 deletions
diff --git a/media-sound/mpdscribble/Manifest b/media-sound/mpdscribble/Manifest
new file mode 100644
index 000000000000..021f02fcc1e8
--- /dev/null
+++ b/media-sound/mpdscribble/Manifest
@@ -0,0 +1,7 @@
+AUX mpdscribble.rc 475 SHA256 d24e970f1da57b391c0bc8efa79b7cadfc5af08c05c73d05f42330a8408fa4fa SHA512 b82d3e5678aba145a5c8d172ebf74960d164e3e934426cc755948d795743bb07158f502705d40c1730a40b6a6d73e84c5792419adaf6ab83ec7c33756f0abb43 WHIRLPOOL 086ca6b51de3abe16a18ab491943ff10e9126904f6e44981542e1a8b63ff77709137af2858776140678115164d53bd385ebd6bf9528e47dd0c840bfe3591eda3
+DIST mpdscribble-0.22.tar.bz2 116981 SHA256 1cde2b5f8c70f0e3e6f059d01bf0b0f2eac2b29fbcd14b01a8a5103e603feb41 SHA512 bedd93392a4d5a0609dcaf7aefeeff3851f3084da8c34a4fc1f8fde51c2ba10b8370ac52cc8d55f0c9a96fffed975827a0935087c2c51880b7bfef8d79182dc8 WHIRLPOOL 55c9129ad4c6ffd3a63529dbc69852730675dfca736d74ff29e7e28259a6f30dd07456181ad0774d26e2fbba213de32e0d4fee70ec930de69978ba7aae9a5cf3
+EBUILD mpdscribble-0.22.ebuild 727 SHA256 807a54d1062269dae8cd47c9fc6ef4d1bf7231a6841e1846aca5478445f66af0 SHA512 651a12cfb02bc5e0747610636d046dbf471a5e38c345af9df1356f9d4270114f65759d1f7988bb8000ef82caab884e88f29b2c6ed985839c174ad200ee51997c WHIRLPOOL 218711505d527992551dd0d3345edd414f018d9b450c3e559a3d7139131fbca34377bf6ccb12d05c2abe28ee80e9234caefb0546e0973e44dea28504418cfe82
+EBUILD mpdscribble-9999.ebuild 759 SHA256 e5d154b7f71b4c91a8defb6b05fc1994743e42149feea6406acfeb3a016d67fa SHA512 017433dabcf0084b1f8a76c83210cea918561a5ec82c09832fe80b14bf7149b6eae00a4450365c5c4aa24d76bccb56b72fdff83e9853f9ca867247d7dc0c8ceb WHIRLPOOL dff1df6f35e7838d885fde2a57c03c6ccf4ae3492aa46edd1bfab144f0f3d3c846f83c525b9018b80d8ea2bc05e5e2db898782df026e61109235cfbd74e2eec7
+MISC ChangeLog 3103 SHA256 824d86e0962e33194adc18a53d79e39897503eded02023b6b9d44fb3205c3238 SHA512 5d2015ba732f074b9846261e081269ec6964b1f715071d6bcff6c53fa44c18de7e45aa5669a824580b2347f5412530523fd8d1ca73ff4ff771df71fca7a0db8e WHIRLPOOL e1393a74771392ff7e800bc154d909fb8870ea12d6785703e7cec817f992c537d4871924b26683e5f95d100d7480754ad48ad8cf2cf638ec60842ed83b2c2e93
+MISC ChangeLog-2015 7621 SHA256 218b8549b4b8224d62f6c9b764edfed95206d909adf7ad9006a676b30b9531ca SHA512 cfcc9e59a1b3f4be4d874d9bd0d52f40843fd55f603fb22db960ce8afdd1659a05e586b2e6eaf3ea3870425a095f7adda8e8f8223fd48ddf525ba2113b5b5541 WHIRLPOOL e71b91be2c3ebd922b8d87ca99a3efcd96c3c4caa7364d88162128d224503b4284cf0bc422c3e047d28ad3b6e4cf4f20f479a177d4b2bd6992d9292ee7478146
+MISC metadata.xml 783 SHA256 1dfb3f0dc4b6627d740fa5711a0b33b4d9d1c4e79aac161d265c6061d71a8c56 SHA512 e6ec23af50371a4e1e1b8ef904ea89a71c5ad2fd52b96bf23a1b9c1625fcddc72cf2c398a908cb7a6f07649630b2dc5ccc8fa8aaa57fcbb6d395ef270f478a44 WHIRLPOOL f08289d12c011b7b639f51455a9e8e5ec010000d19b2b1cf70c8607d8f674fc11b4a14baaccb65272e92154b95f6efe1173eb9f50608d42309ea9747008d8a0c
diff --git a/media-sound/mpdscribble/files/mpdscribble.rc b/media-sound/mpdscribble/files/mpdscribble.rc
new file mode 100644
index 000000000000..ac8a41e68fec
--- /dev/null
+++ b/media-sound/mpdscribble/files/mpdscribble.rc
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+
+depend() {
+ need net
+ use mpd
+}
+
+start () {
+
+ ebegin "Starting Music Player Daemon Audioscrobbler client"
+ start-stop-daemon --start --exec /usr/bin/mpdscribble -- --pidfile /var/run/mpdscribble.pid
+ eend $?
+}
+
+stop () {
+ ebegin "Stopping Music Player Daemon Audioscrobbler client"
+ start-stop-daemon --stop --quiet -p /var/run/mpdscribble.pid --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..591f1b938aae
--- /dev/null
+++ b/media-sound/mpdscribble/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</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>
+ <upstream>
+ <remote-id type="github">MusicPlayerDaemon/mpdscribble</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/mpdscribble/mpdscribble-0.22.ebuild b/media-sound/mpdscribble/mpdscribble-0.22.ebuild
new file mode 100644
index 000000000000..ac6c4ddf73ea
--- /dev/null
+++ b/media-sound/mpdscribble/mpdscribble-0.22.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="An MPD client that submits information to Audioscrobbler"
+HOMEPAGE="https://www.musicpd.org/clients/mpdscribble/"
+SRC_URI="https://www.musicpd.org/download/${PN}/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~hppa ~ppc x86"
+IUSE="+curl"
+
+RDEPEND="dev-libs/glib
+ media-libs/libmpdclient
+ curl? ( net-misc/curl )
+ !curl? ( net-libs/libsoup:2.4 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --with-http-client=$(usex curl curl soup)
+}
+
+src_install() {
+ default
+ newinitd "${FILESDIR}/mpdscribble.rc" mpdscribble
+ dodir /var/cache/mpdscribble
+}
diff --git a/media-sound/mpdscribble/mpdscribble-9999.ebuild b/media-sound/mpdscribble/mpdscribble-9999.ebuild
new file mode 100644
index 000000000000..81294c5dbbe7
--- /dev/null
+++ b/media-sound/mpdscribble/mpdscribble-9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit git-r3 autotools
+
+DESCRIPTION="An MPD client that submits information to Audioscrobbler"
+HOMEPAGE="https://www.musicpd.org/clients/mpdscribble/"
+EGIT_REPO_URI="https://github.com/MusicPlayerDaemon/mpdscribble.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="+curl"
+
+RDEPEND="dev-libs/glib
+ media-libs/libmpdclient
+ curl? ( net-misc/curl )
+ !curl? ( net-libs/libsoup:2.4 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-http-client=$(usex curl curl soup)
+}
+
+src_install() {
+ default
+ newinitd "${FILESDIR}/mpdscribble.rc" mpdscribble
+ dodir /var/cache/mpdscribble
+}