diff options
author | Erik Mackdanz <stasibear@gentoo.org> | 2023-04-08 15:14:06 -0500 |
---|---|---|
committer | Erik Mackdanz <stasibear@gentoo.org> | 2023-04-08 15:14:52 -0500 |
commit | d49e1fa002a456e044d4a4b85a50967ebc701941 (patch) | |
tree | f8a5add47001eb42e755e30d03f102bd6f3e9b48 /media-sound/upmpdcli | |
parent | media-sound/upmpdcli: drop 1.6.3 (diff) | |
download | gentoo-d49e1fa002a456e044d4a4b85a50967ebc701941.tar.gz gentoo-d49e1fa002a456e044d4a4b85a50967ebc701941.tar.bz2 gentoo-d49e1fa002a456e044d4a4b85a50967ebc701941.zip |
media-sound/upmpdcli: add 1.7.7
Signed-off-by: Erik Mackdanz <stasibear@gentoo.org>
Diffstat (limited to 'media-sound/upmpdcli')
-rw-r--r-- | media-sound/upmpdcli/Manifest | 1 | ||||
-rw-r--r-- | media-sound/upmpdcli/upmpdcli-1.7.7.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/media-sound/upmpdcli/Manifest b/media-sound/upmpdcli/Manifest index 583c5434165b..177607f5f8aa 100644 --- a/media-sound/upmpdcli/Manifest +++ b/media-sound/upmpdcli/Manifest @@ -1 +1,2 @@ DIST upmpdcli-1.7.2.tar.gz 604605 BLAKE2B c5b5493d4ef9f13d6311b36927c3a97b77fee01a683d6af30ee317c67cbb3370e4743f8e59936d5e1f0e3961eff14dbb52b15fb5b54cf9d95ce98ad32487df6b SHA512 ab95f04d56925665d644e60532907f943a14dbf4cf760b1149ea071029077809e2d24e58ed41deee26b780d7cc53bad9815f3923c65e682f133d775c0608f0c5 +DIST upmpdcli-1.7.7.tar.gz 606480 BLAKE2B 2be284a864bb93511553a248ec76df7203103d5be31025472dddd08f8b13451292e3254895d112071177bfeef49f9dfe71b6c98a82c7bda1b18f7ecac7526235 SHA512 764606805f413643e1432d27f407ab3020d55e6c374210d56708ddd94285e364fdb266739d6f5d406e8f8708669820e4841449aebd2ea966974144ae90bfa38c diff --git a/media-sound/upmpdcli/upmpdcli-1.7.7.ebuild b/media-sound/upmpdcli/upmpdcli-1.7.7.ebuild new file mode 100644 index 000000000000..d25f68706433 --- /dev/null +++ b/media-sound/upmpdcli/upmpdcli-1.7.7.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools systemd + +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 ~x86" +IUSE="thirdparty" + +DEPEND=" + dev-libs/jsoncpp + media-libs/libmpdclient + net-libs/libmicrohttpd + net-libs/libupnpp +" +RDEPEND=" + ${DEPEND} + acct-group/upmpdcli + acct-user/upmpdcli + app-misc/recoll + thirdparty? ( dev-python/requests ) +" + +PATCHES=( + "${FILESDIR}"/makefile.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --disable-dependency-tracking \ + --disable-silent-rules \ + "--docdir=/usr/share/doc/${P}" \ + "--htmldir=/usr/share/doc/${P}/html" \ + --libdir=/usr/lib64 \ + || die "Configure failed" + +} + +src_install() { + default + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + systemd_dounit systemd/upmpdcli.service +} + +pkg_postinst() { + einfo + einfo "This package no longer assumes that upmpdcli is driving an" + einfo "mpd instance on the same host (https://bugs.gentoo.org/670130)." + einfo "Probably it is though, so be sure your mpd is built with" + einfo "USE=curl." +} |