diff options
author | Erik Mackdanz <stasibear@gentoo.org> | 2023-02-08 20:53:05 -0600 |
---|---|---|
committer | Erik Mackdanz <stasibear@gentoo.org> | 2023-02-08 20:54:09 -0600 |
commit | a5a73bc7d70b504299ecdb7946e83168944730e0 (patch) | |
tree | bb1dd0cd083faf7aca291a94fb4b674d588dc821 | |
parent | media-sound/upmpdcli: drop 1.5.20 (diff) | |
download | gentoo-a5a73bc7d70b504299ecdb7946e83168944730e0.tar.gz gentoo-a5a73bc7d70b504299ecdb7946e83168944730e0.tar.bz2 gentoo-a5a73bc7d70b504299ecdb7946e83168944730e0.zip |
media-sound/upmpdcli: add 1.7.1
Signed-off-by: Erik Mackdanz <stasibear@gentoo.org>
-rw-r--r-- | media-sound/upmpdcli/Manifest | 1 | ||||
-rw-r--r-- | media-sound/upmpdcli/upmpdcli-1.7.1.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/media-sound/upmpdcli/Manifest b/media-sound/upmpdcli/Manifest index 2ec250bd9209..10f5d0c82dc1 100644 --- a/media-sound/upmpdcli/Manifest +++ b/media-sound/upmpdcli/Manifest @@ -1 +1,2 @@ DIST upmpdcli-1.6.3.tar.gz 598611 BLAKE2B bd4a3cf2fd54be48326d0588af5e334a4258e88f16d18f5706a8991d7677f06ded110ffe90ce6c1f02c3b265d3f046b74cb3ffd7c346b15a99e8abf88b70893c SHA512 1a33c0fca54f3291861e0228fd821f42fea0d92a496035e620103dbce1e06143946423b8951e3394654ebb365a93ca325714bd0aaf1cccc3ed3de7d7f8f4a7cf +DIST upmpdcli-1.7.1.tar.gz 600772 BLAKE2B 12a37528d132b925b1fa32fb6189b3174bb8afb4d5e1dac59ef9236b1b6016acd552e353b1d101ebbf204461e800c1e0c8b8afcae1f80ff6b71d47797ea9650d SHA512 ee20d8c9e71b5b17c69375e117dc863a2f0616cf9a3189bd4f1fa006f63c000a3582e545b197e8f1e2748905332cb37247a77ceaff02c4ac0ec3c905d7978146 diff --git a/media-sound/upmpdcli/upmpdcli-1.7.1.ebuild b/media-sound/upmpdcli/upmpdcli-1.7.1.ebuild new file mode 100644 index 000000000000..d25f68706433 --- /dev/null +++ b/media-sound/upmpdcli/upmpdcli-1.7.1.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." +} |