commit:     ca12d5724c17a1ec72b3ff0b530167feb0f7dfe6
Author:     Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  2 17:14:34 2023 +0000
Commit:     Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
CommitDate: Sun Jul  2 17:14:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca12d572

media-sound/upmpdcli: add 1.8.1

Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org>

 media-sound/upmpdcli/Manifest              |  1 +
 media-sound/upmpdcli/upmpdcli-1.8.1.ebuild | 71 ++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/media-sound/upmpdcli/Manifest b/media-sound/upmpdcli/Manifest
index 04efcc9347a4..4c29154cc8a9 100644
--- a/media-sound/upmpdcli/Manifest
+++ b/media-sound/upmpdcli/Manifest
@@ -1 +1,2 @@
 DIST upmpdcli-1.7.9.tar.gz 612647 BLAKE2B 
8234dc1872482eb8d53419b8fe02b5d87e9833eb436089b198a7d18402573d48facfcb42d65847b013d462905cdd556203fbaf91f3947a3b87ceee0b0ebd4edf
 SHA512 
0432d32e96d7f9ae0700030fd5c9d35730e1004a995eaebba2a25e0564627c4fe62d23d7f933c2c0e54d8a70b6378cfde0ed903b7be695d468db8eeb9a33e907
+DIST upmpdcli-1.8.1.tar.gz 629467 BLAKE2B 
dcc5f719721711e8b1ab53c8a163aa1230f01358fea54aad4e4fc7bc9e1f1442c31328f16637606fc06bebdff012c581a16f843885e2675949f2cb92a6ce6444
 SHA512 
35c1cc3ac215d783253b93f88a50fef2caa2d9ac541240fe58398ae062f02c4934c7b832f0159c7e542284496af59f91a59a2cfe3a0d5e2152dd40e7dec1aed7

diff --git a/media-sound/upmpdcli/upmpdcli-1.8.1.ebuild 
b/media-sound/upmpdcli/upmpdcli-1.8.1.ebuild
new file mode 100644
index 000000000000..bba4fa0a43cb
--- /dev/null
+++ b/media-sound/upmpdcli/upmpdcli-1.8.1.ebuild
@@ -0,0 +1,71 @@
+# 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
+       "${FILESDIR}"/configure.patch
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+
+       eautoconf
+
+       ./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."
+}

Reply via email to