diff options
Diffstat (limited to 'media-sound/upmpdcli')
-rw-r--r-- | media-sound/upmpdcli/Manifest | 5 | ||||
-rw-r--r-- | media-sound/upmpdcli/files/upmpdcli.confd | 1 | ||||
-rw-r--r-- | media-sound/upmpdcli/files/upmpdcli.initd | 14 | ||||
-rw-r--r-- | media-sound/upmpdcli/metadata.xml | 15 | ||||
-rw-r--r-- | media-sound/upmpdcli/upmpdcli-1.2.15.ebuild | 46 |
5 files changed, 81 insertions, 0 deletions
diff --git a/media-sound/upmpdcli/Manifest b/media-sound/upmpdcli/Manifest new file mode 100644 index 000000000000..e7fcec97feef --- /dev/null +++ b/media-sound/upmpdcli/Manifest @@ -0,0 +1,5 @@ +AUX upmpdcli.confd 26 BLAKE2B 840eb6e9353266f3669c00dda2a317a6146780180ff0998641dd258806b8dce0a1c49caca570c2ce1fac97e0bf3a347536c147f1a38092ae745bddd728128a01 SHA512 3dd82c12d66aac4be69a98cf25098fdb9c377c4ad0559d07f99cfb4599b6454a6880486053091d55e30b45ac8d877cfa544b1f3dc617d11c32c058767ae6a64f +AUX upmpdcli.initd 394 BLAKE2B e2b31b58d2f1edb6a490a7244524572cb89062005a47f463c2df857a9a380a541547c65a0de28bc33945f9bb2762390a186adebb5bc36b633af713b54bff3155 SHA512 49dc040957a0af4b6d2b50eb1ee9e41f6b593358a7acd66ee809b06cc775e330757f9952843499f6d1cac6cedcd73b1907a51f31f6721ca9d3fb7719bc496709 +DIST upmpdcli-1.2.15.tar.gz 401551 BLAKE2B 0ec3fd67d67fd039f5b0ac385ad12a78e3c48b0d2530690eb9aaff66bbdbf7ae7229d64cfe753d9e70e75070ee5bc4d0849d11909813f06377981974733134ee SHA512 4a62aced9fa2395752164332c84bf3dedd7b793e7e37638cfe063e887d52b9ce956c866de2aa1cddb7a4dcad97562050f9588aedd59e49e7d427671179f9258a +EBUILD upmpdcli-1.2.15.ebuild 990 BLAKE2B 671d826f638b7013ac40c94208f6349b1e07267677e77da0c4daa5fa8127d91dccda07fd22a0a6a85e174d1b7d53e51af82c6a410b8f2b68f580cecad7caa703 SHA512 451990bcd180fe710d7016d95636d8532ee781ab28f1517fb119f8639d652a01c4386452bc81e037962d77f934c1fe287fe59ef011c69af6aa693dbb7f8b065b +MISC metadata.xml 424 BLAKE2B 255b763f479850aab6630f6b5c27eb84ea66692004c85cfafd9ad08edbfa9fe08d745c49f02bc27b126dc883ffc8c22c1d3a248cc94d163b88e8946bdb0d9362 SHA512 283c31f284c8789a0e74d8df0c5324add6875b3eb48a7dd91cb036102bda21465df2ea76656c5015ef050651765fd1fd80f66351deff9d31a2462d1009579ecc diff --git a/media-sound/upmpdcli/files/upmpdcli.confd b/media-sound/upmpdcli/files/upmpdcli.confd new file mode 100644 index 000000000000..dce55d70aec0 --- /dev/null +++ b/media-sound/upmpdcli/files/upmpdcli.confd @@ -0,0 +1 @@ +config=/etc/upmpdcli.conf diff --git a/media-sound/upmpdcli/files/upmpdcli.initd b/media-sound/upmpdcli/files/upmpdcli.initd new file mode 100644 index 000000000000..43618aeca4ea --- /dev/null +++ b/media-sound/upmpdcli/files/upmpdcli.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="UPnP Media Renderer front-end for MPD, the Music Player Daemon" +pidfile=/var/run/upmpdcli.pid +command=/usr/bin/upmpdcli +config="${config:-/etc/upmpdcli.conf}" +command_args="-c ${config}" +command_args_background="-D" + +depend() { + need localmount mpd +} diff --git a/media-sound/upmpdcli/metadata.xml b/media-sound/upmpdcli/metadata.xml new file mode 100644 index 000000000000..8d5234640e01 --- /dev/null +++ b/media-sound/upmpdcli/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>stasibear@gentoo.org</email> +</maintainer> +<longdescription> + UPnP Media Renderer front-end for MPD, the Music Player Daemon +</longdescription> +<use> + <flag name="thirdparty"> + Enable streaming from Qobuz and Tidal external services + </flag> +</use> +</pkgmetadata> diff --git a/media-sound/upmpdcli/upmpdcli-1.2.15.ebuild b/media-sound/upmpdcli/upmpdcli-1.2.15.ebuild new file mode 100644 index 000000000000..d62b00ce8541 --- /dev/null +++ b/media-sound/upmpdcli/upmpdcli-1.2.15.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit user + +DESCRIPTION="UPnP Media Renderer front-end for MPD, the Music Player Daemon" +HOMEPAGE="https://www.lesbonscomptes.com/upmpdcli/index.html" +LICENSE="GPL-2" + +SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz" +SLOT="0" +KEYWORDS="~amd64" +IUSE="thirdparty" + +DEPEND=" + dev-libs/jsoncpp + media-libs/libmpdclient + net-libs/libmicrohttpd + net-libs/libupnpp +" +RDEPEND=" + ${DEPEND} + thirdparty? ( dev-python/requests ) + media-sound/mpd +" + +pkg_setup() { + enewuser "${PN}" + enewgroup "${PN}" +} + +src_install() { + default + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + newconfd "${FILESDIR}/${PN}.confd" "${PN}" +} + +pkg_postinst() { + einfo + einfo "Consider installing media-sound/sc2mpd. If upmpdcli" + einfo "detects sc2mpd at run-time, capabilities are added" + einfo "including internet radio support. See upstream docs" + einfo "for more information." +} |