diff options
author | Christoph Mende <angelos@gentoo.org> | 2014-03-22 16:59:08 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2014-03-22 16:59:08 +0000 |
commit | 26c15c5cae5af5f9d070d7e62e51dae24f4810c4 (patch) | |
tree | 9eedee298c5fba42eaa9262fa6e5e80c48612e98 /media-sound/mpdas | |
parent | Mask app-admin/mate-system-tools, mate-base/libmatekeyring, mate-base/mate, m... (diff) | |
download | historical-26c15c5cae5af5f9d070d7e62e51dae24f4810c4.tar.gz historical-26c15c5cae5af5f9d070d7e62e51dae24f4810c4.tar.bz2 historical-26c15c5cae5af5f9d070d7e62e51dae24f4810c4.zip |
Add init script (bug #493772), bump to EAPI5
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x84F20B43
Diffstat (limited to 'media-sound/mpdas')
-rw-r--r-- | media-sound/mpdas/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/mpdas/Manifest | 20 | ||||
-rw-r--r-- | media-sound/mpdas/files/mpdas.init | 22 | ||||
-rw-r--r-- | media-sound/mpdas/mpdas-0.3.0-r1.ebuild | 38 |
4 files changed, 78 insertions, 13 deletions
diff --git a/media-sound/mpdas/ChangeLog b/media-sound/mpdas/ChangeLog index 0f1b19ffd65b..ea0ef6ad0b95 100644 --- a/media-sound/mpdas/ChangeLog +++ b/media-sound/mpdas/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/mpdas -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpdas/ChangeLog,v 1.13 2012/05/05 08:39:20 mgorny Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpdas/ChangeLog,v 1.14 2014/03/22 16:59:07 angelos Exp $ + +*mpdas-0.3.0-r1 (22 Mar 2014) + + 22 Mar 2014; Christoph Mende <angelos@gentoo.org> +files/mpdas.init, + +mpdas-0.3.0-r1.ebuild: + Add init script (bug #493772), bump to EAPI5 05 May 2012; Michał Górny <mgorny@gentoo.org> mpdas-0.3.0.ebuild: dev-util/pkgconfig -> virtual/pkgconfig @@ -59,4 +65,3 @@ 24 Nov 2008; Ben de Groot <yngwin@gentoo.org> +metadata.xml, +mpdas-0.2.2.ebuild: Initial commit. Ebuild contributed by Sebastian Mair in bug 247216. - diff --git a/media-sound/mpdas/Manifest b/media-sound/mpdas/Manifest index b0a79d6f3181..9dc7603a6d92 100644 --- a/media-sound/mpdas/Manifest +++ b/media-sound/mpdas/Manifest @@ -1,16 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -DIST mpdas-0.3.0.tar.bz2 19219 RMD160 133c41b9debcbf68e69ed898d31e7533427f8e88 SHA1 3e389b8bb9a37b7f9527c6c4a1aaaf4ab462bf0a SHA256 f6542196fa8dfba7cdcc07a95b8df71d03b40a436ea76bcc999f13185d262573 -EBUILD mpdas-0.3.0.ebuild 874 RMD160 d1fdd9de50d3c59c9ab793e6c9de9c8443367a06 SHA1 f6f07253c40e345d0cad0aea62d470a12e9d3000 SHA256 40885b80489f44b92565cae8028e5cae5a63b840a5e04012f9a90a64e8912a8d -MISC ChangeLog 2061 RMD160 d7310280e245427bb45d2dd13e31100322e37984 SHA1 393a9e3944925f2da2090446aee644a2b1cee5b3 SHA256 9211f1ac92aaba23a661fa1c829e49538a7996a404ff378041caec9c0ea4eb27 -MISC metadata.xml 258 RMD160 9afa5947ee093e2c2457213300620e0a998d2202 SHA1 6244f65e6f2df2bb3c8ac431b1f065b4222f5e6b SHA256 cd0a50d738942536c7bed66da25a9346793d3d39a9e156cd4647371a809207a5 +AUX mpdas.init 538 SHA256 ad047dafc70486eaa20f47b8a2f8698843fbd280f51407c1f5483e32f10d81b7 SHA512 09d01e565a71f5fa09671b879becaf8fbe59fbd4130de7b9ab3dd34ea8d9e5af6a37bf6e94bd112da50e6e7ad5643b82f06adf8fa57ed9a678ca72f38859297c WHIRLPOOL 074d243351d738bd16b8c1ab3bfffdba74c99262628747b073f6208cc23ade098dc761eb36e7182434c5d2abcce7bd01566d871e64ab3d255e8c58ad8328b1c6 +DIST mpdas-0.3.0.tar.bz2 19219 SHA256 f6542196fa8dfba7cdcc07a95b8df71d03b40a436ea76bcc999f13185d262573 SHA512 782cae5d8a0707656397edd15a299b250129bc2e5e788a5788d06c7d034e56edc105e5ee6669b7bbecb00bd840fd426cf84c0f41502afd50d645cf7b4504784c WHIRLPOOL 083328bff77e935d30f1c97ca55d4081147707a4051ccf6649eb8166dc7a2db291dd36a5f5f0df6a583e542cec54a01a28dfedc04215cf825568960007d76cdb +EBUILD mpdas-0.3.0-r1.ebuild 836 SHA256 761b1ee1b17adb006b838f6ec37f8649fd4891454eb2068f1970324b89eaed63 SHA512 1cb27e067c20a8b62a6e72dec865bfe6ffeac41b5d0edfded49d25230da36c12818c16e08b845a916c9f6e28746f24846c2e6116c4249fd4843e7a6b2ab097f2 WHIRLPOOL 94479a683a0f94c9979deddd0f488e2a97a2f7bd1784cdb7a063797c89908ac592352f658550a619442b01c2aafee1391e6f7871661fa7b379bea709d9e7adc4 +EBUILD mpdas-0.3.0.ebuild 874 SHA256 40885b80489f44b92565cae8028e5cae5a63b840a5e04012f9a90a64e8912a8d SHA512 ec74fbca2ad51f785619e6e45a734f030106e4b6bd99de39b29bacaea061f6e0bb14f0a3572698f3ff4293582e2e65edab4b98c962c3c1f1ec407ad018431686 WHIRLPOOL 5fcc7c61ed7f63340f5ab034d04648276e84e4ea18b325a339f9edd1217e5f8863a8aba0c2224a7f10d5a2ed706f04e36e1ee8ecf69e2d3efeb9fa7ac0405498 +MISC ChangeLog 2237 SHA256 0b85862f7fefd9cf13766987fd79312ba03877866c09627051419112704a2e5a SHA512 42c6e3b03210039e121e176b9d4ca6169e8b8de37eab166881c2a5c91bfd34924e8ad91d7756ce1d0cae4830da2b64e31e9953b27ead15b437c8c264c7e64ded WHIRLPOOL 851ef5b18c83db1fc1fdd439e78bff06dee375b44a1b05ac90848dc35014773cc2ed09771937dfb86ed4fdd360903cbebffa94c2d4091f008b86cb8f826f36d2 +MISC metadata.xml 258 SHA256 cd0a50d738942536c7bed66da25a9346793d3d39a9e156cd4647371a809207a5 SHA512 8f8a2af605fc11f611ef9a46380b4f0cfe4795d648c665f8117dc637a591d7afb7f0318c08d30bebabdb51470cfde3ec595ae43df93b82e2da2296acdee312c5 WHIRLPOOL c446c4942c18a09c94f6bda5679094070f3cc84c79e5a8a48a8e9cf62f3af5d5f3bbf4838e60821d0575dfa12eb9c22a9f619bd214f1dadea473a8a40fd8d717 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iJwEAQEIAAYFAk+k52kACgkQfXuS5UK5QB1oKgP/ZEejnZ+u7uNYpipKTHJbl8zW -JzBnjOXx/l5n8NhkfmDkumNvoWIEFOHmsuQXLeNGVH0LarNlah6mxOGjnpLWK0Hl -ujmNBA2UafTaKi6zbFZSUCwGsF3aPkJqZ8hA4Ukj6YQ/M+8sbMfESOYFQNkTdSGy -43nvZvEmxVUQXx/eLQk= -=5cKm +iF4EAREIAAYFAlMtwVwACgkQmWq1bYTyC0NKSQD/RfkS0thtP8yuqRnmxe4u3pWQ +XuZm3FaWnz+hmIL+WqYA/3JvbSKc0w0sdN3ECsBkNgFD+iatadrBx15kKSp2fd2N +=3ylU -----END PGP SIGNATURE----- diff --git a/media-sound/mpdas/files/mpdas.init b/media-sound/mpdas/files/mpdas.init new file mode 100644 index 000000000000..804d18431ef5 --- /dev/null +++ b/media-sound/mpdas/files/mpdas.init @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpdas/files/mpdas.init,v 1.1 2014/03/22 16:59:06 angelos Exp $ + +depend() { + use net mpd +} + +start() { + ebegin "Starting mpdas" + start-stop-daemon --background --start --exec /usr/bin/mpdas \ + --make-pidfile --pidfile /run/mpdas.pid + eend $? +} + +stop() { + ebegin "Stopping mpdas" + start-stop-daemon --stop --exec /usr/bin/mpdas \ + --pidfile /run/mpdas.pid + eend $? +} diff --git a/media-sound/mpdas/mpdas-0.3.0-r1.ebuild b/media-sound/mpdas/mpdas-0.3.0-r1.ebuild new file mode 100644 index 000000000000..ea45ff98cfd9 --- /dev/null +++ b/media-sound/mpdas/mpdas-0.3.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpdas/mpdas-0.3.0-r1.ebuild,v 1.1 2014/03/22 16:59:07 angelos Exp $ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="An AudioScrobbler client for MPD written in C++" +HOMEPAGE="http://50hz.ws/mpdas/" +SRC_URI="http://50hz.ws/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/libmpd + net-misc/curl" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_compile() { + tc-export CXX + emake CONFIG="/etc" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + newinitd "${FILESDIR}/${PN}.init" ${PN} + dodoc ChangeLog mpdasrc.example README +} + +pkg_postinst() { + elog "For further configuration help consult the README in" + elog "${EPREFIX}/usr/share/doc/${PF}" +} |