diff options
Diffstat (limited to 'media-sound/upmpdcli/upmpdcli-1.2.15.ebuild')
-rw-r--r-- | media-sound/upmpdcli/upmpdcli-1.2.15.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
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." +} |