diff options
author | Erik Mackdanz <stasibear@gentoo.org> | 2023-03-02 00:11:31 -0600 |
---|---|---|
committer | Erik Mackdanz <stasibear@gentoo.org> | 2023-03-02 00:11:33 -0600 |
commit | 2613239941e40f709b837fe411dc7b8046ff0a6e (patch) | |
tree | 4b645050841cf2a51e1a87849af6d7a72f5b6355 /media-sound/upmpdcli | |
parent | app-office/ledger: add 3.3.0 (diff) | |
download | gentoo-2613239941e40f709b837fe411dc7b8046ff0a6e.tar.gz gentoo-2613239941e40f709b837fe411dc7b8046ff0a6e.tar.bz2 gentoo-2613239941e40f709b837fe411dc7b8046ff0a6e.zip |
media-sound/upmpdcli: add 1.7.2
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.2.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/media-sound/upmpdcli/Manifest b/media-sound/upmpdcli/Manifest index 10f5d0c82dc1..dda98e6ab2bc 100644 --- a/media-sound/upmpdcli/Manifest +++ b/media-sound/upmpdcli/Manifest @@ -1,2 +1,3 @@ DIST upmpdcli-1.6.3.tar.gz 598611 BLAKE2B bd4a3cf2fd54be48326d0588af5e334a4258e88f16d18f5706a8991d7677f06ded110ffe90ce6c1f02c3b265d3f046b74cb3ffd7c346b15a99e8abf88b70893c SHA512 1a33c0fca54f3291861e0228fd821f42fea0d92a496035e620103dbce1e06143946423b8951e3394654ebb365a93ca325714bd0aaf1cccc3ed3de7d7f8f4a7cf DIST upmpdcli-1.7.1.tar.gz 600772 BLAKE2B 12a37528d132b925b1fa32fb6189b3174bb8afb4d5e1dac59ef9236b1b6016acd552e353b1d101ebbf204461e800c1e0c8b8afcae1f80ff6b71d47797ea9650d SHA512 ee20d8c9e71b5b17c69375e117dc863a2f0616cf9a3189bd4f1fa006f63c000a3582e545b197e8f1e2748905332cb37247a77ceaff02c4ac0ec3c905d7978146 +DIST upmpdcli-1.7.2.tar.gz 604605 BLAKE2B c5b5493d4ef9f13d6311b36927c3a97b77fee01a683d6af30ee317c67cbb3370e4743f8e59936d5e1f0e3961eff14dbb52b15fb5b54cf9d95ce98ad32487df6b SHA512 ab95f04d56925665d644e60532907f943a14dbf4cf760b1149ea071029077809e2d24e58ed41deee26b780d7cc53bad9815f3923c65e682f133d775c0608f0c5 diff --git a/media-sound/upmpdcli/upmpdcli-1.7.2.ebuild b/media-sound/upmpdcli/upmpdcli-1.7.2.ebuild new file mode 100644 index 000000000000..d25f68706433 --- /dev/null +++ b/media-sound/upmpdcli/upmpdcli-1.7.2.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." +} |