From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E613515800D for ; Sun, 2 Jul 2023 17:15:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1DFE4E088A; Sun, 2 Jul 2023 17:15:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 063FDE088A for ; Sun, 2 Jul 2023 17:15:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2219B335D4D for ; Sun, 2 Jul 2023 17:15:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D877ACB for ; Sun, 2 Jul 2023 17:15:15 +0000 (UTC) From: "Erik Mackdanz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Erik Mackdanz" Message-ID: <1688318079.ca12d5724c17a1ec72b3ff0b530167feb0f7dfe6.stasibear@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/upmpdcli/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/upmpdcli/Manifest media-sound/upmpdcli/upmpdcli-1.8.1.ebuild X-VCS-Directories: media-sound/upmpdcli/ X-VCS-Committer: stasibear X-VCS-Committer-Name: Erik Mackdanz X-VCS-Revision: ca12d5724c17a1ec72b3ff0b530167feb0f7dfe6 X-VCS-Branch: master Date: Sun, 2 Jul 2023 17:15:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3f32c9d5-e183-4292-8de6-df3336148da5 X-Archives-Hash: 261ca07396e77309c6dbdad702aa98eb commit: ca12d5724c17a1ec72b3ff0b530167feb0f7dfe6 Author: Erik Mackdanz gentoo org> AuthorDate: Sun Jul 2 17:14:34 2023 +0000 Commit: Erik Mackdanz gentoo 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 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." +}