diff options
Diffstat (limited to 'media-sound/mpdas')
-rw-r--r-- | media-sound/mpdas/Manifest | 10 | ||||
-rw-r--r-- | media-sound/mpdas/files/mpdas.init | 21 | ||||
-rw-r--r-- | media-sound/mpdas/metadata.xml | 8 | ||||
-rw-r--r-- | media-sound/mpdas/mpdas-0.4.0-r1.ebuild | 36 | ||||
-rw-r--r-- | media-sound/mpdas/mpdas-0.4.1.ebuild | 36 | ||||
-rw-r--r-- | media-sound/mpdas/mpdas-0.4.2.ebuild | 41 |
6 files changed, 152 insertions, 0 deletions
diff --git a/media-sound/mpdas/Manifest b/media-sound/mpdas/Manifest new file mode 100644 index 000000000000..5893ce114b82 --- /dev/null +++ b/media-sound/mpdas/Manifest @@ -0,0 +1,10 @@ +AUX mpdas.init 429 SHA256 de0171a02016a4e1e0f673112fce440ccff8b93e4cd9b3eaebfb2f1cacc90671 SHA512 0d2f7393abe0119cbb43dfaaa7593eff03456e8aa188eb879692108ced01b1980812e8336479e2ee94594537b77f2a9267e34c9a274d1a815bde77e2b3b8f8fc WHIRLPOOL 05b8da85a5259dfc1249565b64538e1617750532a27edea95b1140111384a5a6dd75dce449c7630e1300793a3c03667effbd0a334ee9db6b97e1e48173bcaa3e +DIST mpdas-0.4.0.tar.gz 15113 SHA256 7b30a9cde19175bddb6b898a78d225242330dbceaca4932f87c5a016141af650 SHA512 0e5643cc2c690b05477b64e8f1761332d53e17809d61ec5ec17ab41f4f0b7b2d6b4013d3b946d3289f02f470b4afef1df8206bd0fab61345cd8431bb2c66742f WHIRLPOOL ca4c13d6d6d75d64d5b43571c22968924510f7302c2bc44264c923dedfcbe010241684262b4befdbc6689fbb17b72aff7ea2a47115664c2e9f0388070d1a27ae +DIST mpdas-0.4.1.tar.gz 15117 SHA256 f790be8e85c0d1324d7346b5b0fa3713db8db7fd4ea304c5c8d2921bf3855014 SHA512 746ca106f76cbd24fc8460b9c2a7debcb5faf49e65e5307adb1bdf530dab8f99b2e0118ce1324e5bf2af1d08465c3a6f015675dcfb7d1b6d799e228e8ecffd64 WHIRLPOOL c7323f061e976d4a4cc9989f3d643fa1e60fa41cf576723a28d8d7e0f3d5745f97f3da982b8a97ccde7aa64c08c047276b37a2630adf91429178a4f3ff65e418 +DIST mpdas-0.4.2.tar.gz 15695 SHA256 8ebdd0518cbdb033fc0578c9ea894d4670de1d67bf2541418cb5f7ac1210db6f SHA512 cebd3c027002ac5283834edf3a1338b449c4a78261690cb5d25c57f767f1b0b81ff8ca5c64d79d6aecf5e86ba0c7b63a51131f6cc9031f2922e92eeddcada353 WHIRLPOOL 666dadad91961f1d1c205e1f3581570d2aad642ca3a11d0d55d02a4f634254df6c7f7fef266e75557b40b49f70e0ee3b3f7a0a9cb621d54dca9b2c3bb9bc3db6 +EBUILD mpdas-0.4.0-r1.ebuild 713 SHA256 d614057526aaa83f32c94f99c01b45febe566d15c1e7b7003b834fd57e6aef9e SHA512 6ff9c4c330e1a0cd2da0082469f2c4e194e9861a252f6733c427cb62c85b5e3d8ffd63528439296817614e0f7c9c3e4ee6341106823a5718fedc22f88f82f49c WHIRLPOOL a2caf0846e7fc476888ac42c6649f5b234f6876d0f50d2ad2a54c5dc0281937b00a47932a99898180a84156648f109e07534ebb2fcb1f73336b27dce9b87b5c0 +EBUILD mpdas-0.4.1.ebuild 715 SHA256 2c9268dd62052feb169873e8cdcc072e5974eb48fda479637eb81d9bd3c103fc SHA512 79b9bc6753ae2d6a19c07b72ea4d2848b4d34a5e94033c28b8c7aa75e32145903d715c70da3e7ac2c24095e5d43a8ef60b8ce12f764cb20ed7853ca8cc02b7af WHIRLPOOL 4225456fd7c173f41c605cda71f47df98f9e624ec050f080486fbff22d141b7395773cef95771985e1e1966806ba9d472bb61393ba303dd994ee37f7f0c6cddc +EBUILD mpdas-0.4.2.ebuild 778 SHA256 f52dfceab0142dcb72acbebdf377e5ff912d5fc337e2e0e15fcc7eb99d9bd6eb SHA512 f562d8c3cfb343cbb032849e158c890f920727b7c25116dcdfc17de0695e934cbf05cbf8113a472a9a27fb911d28f4a3a9383f12e5ba9bf3ab32f774897c6ccb WHIRLPOOL 2f73c5176e199918a315574b5dff788c04c701434c243e4286d57abd1f91447e8b75038c36427e2e9b01ce8349e639a4ef29b5532ae32ad8c557ca676d529531 +MISC ChangeLog 4095 SHA256 4157895f445b60530f50691426fdebc96aaf7da699e476c5ac18938bda6ced9c SHA512 6a34b99f17b503e33b85847377d03a06d269843cf751437b08a1f526bd44e66b64ca763adb198a13eaeb08ec91e28f3180a0d130668fd2b0c32d0a28b979cf76 WHIRLPOOL ab2d366f57941f39a18367bea02b6dac1584b8a13f653f09c0c12340e4fb3b5b61d91df13fc442d1507e8901a15cd9728f8d8b97170e7d2ed540e7ff978d5dbc +MISC ChangeLog-2015 2927 SHA256 e9094b245f85ece0b5ed13bb88ccd3f4dbe177f7f771b93b57907e0227b5e249 SHA512 bbb60939661833637f604851b2ab258a63f0c0ef53fad8dc4011b3c14012ccf9af6598ae8f152b795eb86a653a5eed59ca4902b7080750cae150184a2a6f7022 WHIRLPOOL b33d4ef58d2d1d9a94f03f2c28c98cb247e5fc1789169d36518847f63c44a61f82bddfec318696cd3cf5a3d23c15522492500e7ac25b2afdd129f85f791307f5 +MISC metadata.xml 255 SHA256 fba28ae8638c4e70e71ed13160d8e84ac8b2c3411986b413bf7c7a46d1ae1f8b SHA512 01c6975548c91a866643b9606aded004372568c8f3e30abaf683f9f77221d15c7b3f304103ef8aeaad415326ab3e9e2bca6b71a1ff39f2835dc680e112e75687 WHIRLPOOL 7546e14d91853a393461c968f55f2336d4672f170e46a2800a3abcd33054967e6e7419ac4943dea131c88165b94fa338d2db6b47399b689129b2bd45cd747729 diff --git a/media-sound/mpdas/files/mpdas.init b/media-sound/mpdas/files/mpdas.init new file mode 100644 index 000000000000..bcb2367665b2 --- /dev/null +++ b/media-sound/mpdas/files/mpdas.init @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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/metadata.xml b/media-sound/mpdas/metadata.xml new file mode 100644 index 000000000000..61852ad99397 --- /dev/null +++ b/media-sound/mpdas/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> diff --git a/media-sound/mpdas/mpdas-0.4.0-r1.ebuild b/media-sound/mpdas/mpdas-0.4.0-r1.ebuild new file mode 100644 index 000000000000..99e9d70a110f --- /dev/null +++ b/media-sound/mpdas/mpdas-0.4.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="media-libs/libmpdclient + 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 mpdasrc.example README +} + +pkg_postinst() { + elog "For further configuration help consult the README in" + elog "${EPREFIX}/usr/share/doc/${PF}" +} diff --git a/media-sound/mpdas/mpdas-0.4.1.ebuild b/media-sound/mpdas/mpdas-0.4.1.ebuild new file mode 100644 index 000000000000..02431e9668fa --- /dev/null +++ b/media-sound/mpdas/mpdas-0.4.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/libmpdclient + 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 mpdasrc.example README +} + +pkg_postinst() { + elog "For further configuration help consult the README in" + elog "${EPREFIX}/usr/share/doc/${PF}" +} diff --git a/media-sound/mpdas/mpdas-0.4.2.ebuild b/media-sound/mpdas/mpdas-0.4.2.ebuild new file mode 100644 index 000000000000..65382e379dd7 --- /dev/null +++ b/media-sound/mpdas/mpdas-0.4.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/libmpdclient + net-misc/curl" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i -e 's/@//' Makefile || die + default +} + +src_compile() { + tc-export CXX + emake CONFIG="/etc" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + newinitd "${FILESDIR}/${PN}.init" ${PN} + dodoc mpdasrc.example README +} + +pkg_postinst() { + elog "For further configuration help consult the README in" + elog "${EPREFIX}/usr/share/doc/${PF}" +} |