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: Thu, 02 Mar 2023 06:12:37
Message-Id: 1677737493.2613239941e40f709b837fe411dc7b8046ff0a6e.stasibear@gentoo
1 commit: 2613239941e40f709b837fe411dc7b8046ff0a6e
2 Author: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 2 06:11:31 2023 +0000
4 Commit: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 2 06:11:33 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26132399
7
8 media-sound/upmpdcli: add 1.7.2
9
10 Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org>
11
12 media-sound/upmpdcli/Manifest | 1 +
13 media-sound/upmpdcli/upmpdcli-1.7.2.ebuild | 68 ++++++++++++++++++++++++++++++
14 2 files changed, 69 insertions(+)
15
16 diff --git a/media-sound/upmpdcli/Manifest b/media-sound/upmpdcli/Manifest
17 index 10f5d0c82dc1..dda98e6ab2bc 100644
18 --- a/media-sound/upmpdcli/Manifest
19 +++ b/media-sound/upmpdcli/Manifest
20 @@ -1,2 +1,3 @@
21 DIST upmpdcli-1.6.3.tar.gz 598611 BLAKE2B bd4a3cf2fd54be48326d0588af5e334a4258e88f16d18f5706a8991d7677f06ded110ffe90ce6c1f02c3b265d3f046b74cb3ffd7c346b15a99e8abf88b70893c SHA512 1a33c0fca54f3291861e0228fd821f42fea0d92a496035e620103dbce1e06143946423b8951e3394654ebb365a93ca325714bd0aaf1cccc3ed3de7d7f8f4a7cf
22 DIST upmpdcli-1.7.1.tar.gz 600772 BLAKE2B 12a37528d132b925b1fa32fb6189b3174bb8afb4d5e1dac59ef9236b1b6016acd552e353b1d101ebbf204461e800c1e0c8b8afcae1f80ff6b71d47797ea9650d SHA512 ee20d8c9e71b5b17c69375e117dc863a2f0616cf9a3189bd4f1fa006f63c000a3582e545b197e8f1e2748905332cb37247a77ceaff02c4ac0ec3c905d7978146
23 +DIST upmpdcli-1.7.2.tar.gz 604605 BLAKE2B c5b5493d4ef9f13d6311b36927c3a97b77fee01a683d6af30ee317c67cbb3370e4743f8e59936d5e1f0e3961eff14dbb52b15fb5b54cf9d95ce98ad32487df6b SHA512 ab95f04d56925665d644e60532907f943a14dbf4cf760b1149ea071029077809e2d24e58ed41deee26b780d7cc53bad9815f3923c65e682f133d775c0608f0c5
24
25 diff --git a/media-sound/upmpdcli/upmpdcli-1.7.2.ebuild b/media-sound/upmpdcli/upmpdcli-1.7.2.ebuild
26 new file mode 100644
27 index 000000000000..d25f68706433
28 --- /dev/null
29 +++ b/media-sound/upmpdcli/upmpdcli-1.7.2.ebuild
30 @@ -0,0 +1,68 @@
31 +# Copyright 1999-2023 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit autotools systemd
37 +
38 +DESCRIPTION="UPnP Media Renderer front-end for MPD, the Music Player Daemon"
39 +HOMEPAGE="https://www.lesbonscomptes.com/upmpdcli/index.html"
40 +LICENSE="GPL-2"
41 +
42 +SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="thirdparty"
46 +
47 +DEPEND="
48 + dev-libs/jsoncpp
49 + media-libs/libmpdclient
50 + net-libs/libmicrohttpd
51 + net-libs/libupnpp
52 +"
53 +RDEPEND="
54 + ${DEPEND}
55 + acct-group/upmpdcli
56 + acct-user/upmpdcli
57 + app-misc/recoll
58 + thirdparty? ( dev-python/requests )
59 +"
60 +
61 +PATCHES=(
62 + "${FILESDIR}"/makefile.patch
63 +)
64 +
65 +src_prepare() {
66 + default
67 + eautoreconf
68 +}
69 +
70 +src_configure() {
71 +
72 + ./configure \
73 + --prefix=/usr \
74 + --sysconfdir=/etc \
75 + --localstatedir=/var/lib \
76 + --disable-dependency-tracking \
77 + --disable-silent-rules \
78 + "--docdir=/usr/share/doc/${P}" \
79 + "--htmldir=/usr/share/doc/${P}/html" \
80 + --libdir=/usr/lib64 \
81 + || die "Configure failed"
82 +
83 +}
84 +
85 +src_install() {
86 + default
87 + newinitd "${FILESDIR}/${PN}.initd" "${PN}"
88 + newconfd "${FILESDIR}/${PN}.confd" "${PN}"
89 + systemd_dounit systemd/upmpdcli.service
90 +}
91 +
92 +pkg_postinst() {
93 + einfo
94 + einfo "This package no longer assumes that upmpdcli is driving an"
95 + einfo "mpd instance on the same host (https://bugs.gentoo.org/670130)."
96 + einfo "Probably it is though, so be sure your mpd is built with"
97 + einfo "USE=curl."
98 +}