Gentoo Archives: gentoo-commits

From: Erik Mackdanz <stasibear@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/upmpdcli/
Date: Sun, 25 Sep 2022 15:51:51
Message-Id: 1664121049.87c245416cbc3c9c5628f82f4fd9add54befa93f.stasibear@gentoo
1 commit: 87c245416cbc3c9c5628f82f4fd9add54befa93f
2 Author: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 25 15:50:43 2022 +0000
4 Commit: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 25 15:50:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87c24541
7
8 media-sound/upmpdcli: add 1.5.20
9
10 Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org>
11
12 media-sound/upmpdcli/Manifest | 1 +
13 media-sound/upmpdcli/upmpdcli-1.5.20.ebuild | 59 +++++++++++++++++++++++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/media-sound/upmpdcli/Manifest b/media-sound/upmpdcli/Manifest
17 index caa0cb0c12e0..003705a31f5d 100644
18 --- a/media-sound/upmpdcli/Manifest
19 +++ b/media-sound/upmpdcli/Manifest
20 @@ -1 +1,2 @@
21 DIST upmpdcli-1.5.19.tar.gz 586888 BLAKE2B 1784d41dd09b8bee93e9bd8c650480f48cee8324a0cae85068bb628cb748b223f20a37608369b085c154327569203421d476ad5e6bc1a044fa5d5ad920e2a768 SHA512 517fae799e0d400268f968ea7983b1cb7e22759ad7a0b9fe194a5bbfbb2db16ea26a233cb1784fae6d7e3b8f28ff3443a8f8ab3e447719d05e48be36b49ded08
22 +DIST upmpdcli-1.5.20.tar.gz 595015 BLAKE2B 5c679e00557b70e64015d6e0ab7b32147d26ac281b57b6a416f28bdf1f02f8b7b7aac3e9b521c511325f2ed9518d45077c9a7a0415ef145aaa60722143a07481 SHA512 ce852f7b99903761bfd30af8788603d4af80b78a4b6507e5c4ef55c9da42be4124af855fa890d10087f6aa1f7c5b5eb8cf1727ca6ead45ca090060b032260fc2
23
24 diff --git a/media-sound/upmpdcli/upmpdcli-1.5.20.ebuild b/media-sound/upmpdcli/upmpdcli-1.5.20.ebuild
25 new file mode 100644
26 index 000000000000..68874e5bd6ed
27 --- /dev/null
28 +++ b/media-sound/upmpdcli/upmpdcli-1.5.20.ebuild
29 @@ -0,0 +1,59 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit systemd
36 +
37 +DESCRIPTION="UPnP Media Renderer front-end for MPD, the Music Player Daemon"
38 +HOMEPAGE="https://www.lesbonscomptes.com/upmpdcli/index.html"
39 +LICENSE="GPL-2"
40 +
41 +SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE="thirdparty"
45 +
46 +DEPEND="
47 + dev-libs/jsoncpp
48 + media-libs/libmpdclient
49 + net-libs/libmicrohttpd
50 + net-libs/libupnpp
51 +"
52 +RDEPEND="
53 + ${DEPEND}
54 + acct-group/upmpdcli
55 + acct-user/upmpdcli
56 + app-misc/recoll
57 + thirdparty? ( dev-python/requests )
58 +"
59 +
60 +src_configure() {
61 +
62 + ./configure \
63 + --prefix=/usr \
64 + --sysconfdir=/etc \
65 + --localstatedir=/var/lib \
66 + --disable-dependency-tracking \
67 + --disable-silent-rules \
68 + "--docdir=/usr/share/doc/${P}" \
69 + "--htmldir=/usr/share/doc/${P}/html" \
70 + --libdir=/usr/lib64 \
71 + || die "Configure failed"
72 +
73 +}
74 +
75 +src_install() {
76 + default
77 + newinitd "${FILESDIR}/${PN}.initd" "${PN}"
78 + newconfd "${FILESDIR}/${PN}.confd" "${PN}"
79 + systemd_dounit systemd/upmpdcli.service
80 +}
81 +
82 +pkg_postinst() {
83 + einfo
84 + einfo "This package no longer assumes that upmpdcli is driving an"
85 + einfo "mpd instance on the same host (https://bugs.gentoo.org/670130)."
86 + einfo "Probably it is though, so be sure your mpd is built with"
87 + einfo "USE=curl."
88 +}