public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/upmpdcli/, media-sound/upmpdcli/files/
@ 2019-02-09 15:53 Erik Mackdanz
  0 siblings, 0 replies; 3+ messages in thread
From: Erik Mackdanz @ 2019-02-09 15:53 UTC (permalink / raw
  To: gentoo-commits

commit:     40f04f1ef95b0aa1b5e2e30e3bd9649441e9f5da
Author:     Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  9 15:52:39 2019 +0000
Commit:     Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
CommitDate: Sat Feb  9 15:52:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40f04f1e

media-sound/upmpdcli: Bump to 1.4.0

Closes: https://bugs.gentoo.org/670130
Closes: https://bugs.gentoo.org/673552
Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org>
Package-Manager: Portage-2.3.59, Repoman-2.3.12

 media-sound/upmpdcli/Manifest              |  1 +
 media-sound/upmpdcli/files/upmpdcli.initd  | 14 ++++++++
 media-sound/upmpdcli/upmpdcli-1.4.0.ebuild | 51 ++++++++++++++++++++++++++++++
 3 files changed, 66 insertions(+)

diff --git a/media-sound/upmpdcli/Manifest b/media-sound/upmpdcli/Manifest
index c578441a665..c879d05a9cf 100644
--- a/media-sound/upmpdcli/Manifest
+++ b/media-sound/upmpdcli/Manifest
@@ -1 +1,2 @@
 DIST upmpdcli-1.3.6.tar.gz 515712 BLAKE2B 6de6a3af2e474a3f8d12865e3cdd420f31955e88a0eb1c8ffd019809666c4c613631d642b34bb5fa473fceb7207613d90584fdf856b6a49899f9c2aa31b2b471 SHA512 280b02116786c86fd5f1e472fa9070b3a6d846acd670e36d476b150d4a3e91e5a6d1546b7053b1f35a2e0de553c8517640934af010d371d3cbed248592be502d
+DIST upmpdcli-1.4.0.tar.gz 469357 BLAKE2B edd46e86f367ff2f88346cfb4cb249dae4463095553bb220fbd9a4078315044ec7591f58c30a0f20840a9f217230e46bc3b3569989a0ae2c05a44aa140c234c4 SHA512 1ed1f0a89a02610d70fb9e380dcbdbd8d636bc4a0964a16d27bd7c04126674f7f14e50e5fe521a430a06ea04ecef1275c7ad5f1c276daae1c285b73cceba9dec

diff --git a/media-sound/upmpdcli/files/upmpdcli.initd b/media-sound/upmpdcli/files/upmpdcli.initd
new file mode 100644
index 00000000000..de11d277486
--- /dev/null
+++ b/media-sound/upmpdcli/files/upmpdcli.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+description="UPnP Media Renderer front-end for MPD, the Music Player Daemon"
+pidfile=/var/run/upmpdcli.pid
+command=/usr/bin/upmpdcli
+config="${config:-/etc/upmpdcli.conf}"
+command_args="-c ${config}"
+command_args_background="-D"
+
+depend() {
+    need localmount
+}

diff --git a/media-sound/upmpdcli/upmpdcli-1.4.0.ebuild b/media-sound/upmpdcli/upmpdcli-1.4.0.ebuild
new file mode 100644
index 00000000000..f1851fb80b7
--- /dev/null
+++ b/media-sound/upmpdcli/upmpdcli-1.4.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd user
+
+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"
+IUSE="thirdparty"
+
+DEPEND="
+	dev-libs/jsoncpp
+	media-libs/libmpdclient
+	net-libs/libmicrohttpd
+	>=net-libs/libupnpp-0.17.0
+"
+RDEPEND="
+	${DEPEND}
+	thirdparty? ( dev-python/requests )
+"
+
+pkg_setup() {
+	enewuser "${PN}"
+	enewgroup "${PN}"
+}
+
+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 "mpdinstance 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."
+	einfo
+	einfo "Consider installing media-sound/sc2mpd.  If upmpdcli"
+	einfo "detects sc2mpd at run-time, capabilities are added"
+	einfo "including internet radio support.  See upstream docs"
+	einfo "for more information."
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/upmpdcli/, media-sound/upmpdcli/files/
@ 2023-02-09  2:54 Erik Mackdanz
  0 siblings, 0 replies; 3+ messages in thread
From: Erik Mackdanz @ 2023-02-09  2:54 UTC (permalink / raw
  To: gentoo-commits

commit:     73f7abb9421ae66329a0f82a2b00962356252684
Author:     Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  9 02:37:32 2023 +0000
Commit:     Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
CommitDate: Thu Feb  9 02:54:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73f7abb9

media-sound/upmpdcli: fix race in 'make install'

Closes: https://bugs.gentoo.org/890298
Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org>

 media-sound/upmpdcli/files/makefile.patch   | 22 ++++++++++++++++++++++
 media-sound/upmpdcli/upmpdcli-1.5.20.ebuild | 11 ++++++++++-
 media-sound/upmpdcli/upmpdcli-1.6.3.ebuild  | 11 ++++++++++-
 3 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/media-sound/upmpdcli/files/makefile.patch b/media-sound/upmpdcli/files/makefile.patch
new file mode 100644
index 000000000000..dd259a1406a6
--- /dev/null
+++ b/media-sound/upmpdcli/files/makefile.patch
@@ -0,0 +1,22 @@
+--- a/Makefile.in	2023-02-08 13:40:15.504842769 -0600
++++ b/Makefile.in	2023-02-08 13:40:30.175898082 -0600
+@@ -2002,7 +2002,7 @@
+ @MAKECONFGUI_TRUE@                prefix=$(prefix) exec_prefix=$(exec_prefix) libdir=$(libdir) \
+ @MAKECONFGUI_TRUE@                install
+ 
+-install-data-hook:
++install-data-hook: install-dist_sysconfDATA
+ 	(cd $(DESTDIR)$(sysconfdir); test -f upmpdcli.conf || \
+ 		mv upmpdcli.conf-dist upmpdcli.conf; chmod 600 upmpdcli.conf)
+ 	(cd $(DESTDIR)$(pkgdatadir); test -d src_scripts || mkdir src_scripts)
+--- a/Makefile.am	2023-02-08 13:45:02.076935272 -0600
++++ b/Makefile.am	2023-02-08 13:45:20.889007724 -0600
+@@ -285,7 +285,7 @@
+     systemd/upmpdcli.service
+ 
+ 
+-install-data-hook:
++install-data-hook: install-dist_sysconfDATA
+ 	(cd $(DESTDIR)$(sysconfdir); test -f upmpdcli.conf || \
+ 		mv upmpdcli.conf-dist upmpdcli.conf; chmod 600 upmpdcli.conf)
+ 	(cd $(DESTDIR)$(pkgdatadir); test -d src_scripts || mkdir src_scripts)

diff --git a/media-sound/upmpdcli/upmpdcli-1.5.20.ebuild b/media-sound/upmpdcli/upmpdcli-1.5.20.ebuild
index a73fac04902e..6f8f00af7075 100644
--- a/media-sound/upmpdcli/upmpdcli-1.5.20.ebuild
+++ b/media-sound/upmpdcli/upmpdcli-1.5.20.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit systemd
+inherit autotools systemd
 
 DESCRIPTION="UPnP Media Renderer front-end for MPD, the Music Player Daemon"
 HOMEPAGE="https://www.lesbonscomptes.com/upmpdcli/index.html"
@@ -28,6 +28,15 @@ RDEPEND="
 	thirdparty? ( dev-python/requests )
 "
 
+PATCHES=(
+	"${FILESDIR}"/makefile.patch
+)
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
 src_configure() {
 
 	./configure \

diff --git a/media-sound/upmpdcli/upmpdcli-1.6.3.ebuild b/media-sound/upmpdcli/upmpdcli-1.6.3.ebuild
index a73fac04902e..6f8f00af7075 100644
--- a/media-sound/upmpdcli/upmpdcli-1.6.3.ebuild
+++ b/media-sound/upmpdcli/upmpdcli-1.6.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit systemd
+inherit autotools systemd
 
 DESCRIPTION="UPnP Media Renderer front-end for MPD, the Music Player Daemon"
 HOMEPAGE="https://www.lesbonscomptes.com/upmpdcli/index.html"
@@ -28,6 +28,15 @@ RDEPEND="
 	thirdparty? ( dev-python/requests )
 "
 
+PATCHES=(
+	"${FILESDIR}"/makefile.patch
+)
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
 src_configure() {
 
 	./configure \


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/upmpdcli/, media-sound/upmpdcli/files/
@ 2023-06-10 15:58 Erik Mackdanz
  0 siblings, 0 replies; 3+ messages in thread
From: Erik Mackdanz @ 2023-06-10 15:58 UTC (permalink / raw
  To: gentoo-commits

commit:     5e1af15dc3180bad9cc46ec25f6dc0786df68f58
Author:     Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 15:58:12 2023 +0000
Commit:     Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 15:58:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e1af15d

media-sound/upmpdcli: patch config-time implicit decl

Closes: https://bugs.gentoo.org/904997
Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org>

 media-sound/upmpdcli/files/configure.patch    | 11 +++++++++++
 media-sound/upmpdcli/upmpdcli-1.7.9-r1.ebuild |  3 +++
 2 files changed, 14 insertions(+)

diff --git a/media-sound/upmpdcli/files/configure.patch b/media-sound/upmpdcli/files/configure.patch
new file mode 100644
index 000000000000..d708186f652b
--- /dev/null
+++ b/media-sound/upmpdcli/files/configure.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac	2023-06-10 10:21:38.770760698 -0500
++++ b/configure.ac	2023-06-10 10:22:01.670904090 -0500
+@@ -86,7 +86,7 @@
+ 
+ #### Functions
+ AC_LINK_IFELSE(
+-    [AC_LANG_PROGRAM([#include <math.h>], [double x = exp10(1.0);])],
++    [AC_LANG_PROGRAM([#include <math.h>], [double exp10(double x);], [double x = exp10(1.0);])],
+     [AC_DEFINE([HAVE_EXP10], [1], [Define to 1 if you have the 'exp10' function])],
+   [])
+ 

diff --git a/media-sound/upmpdcli/upmpdcli-1.7.9-r1.ebuild b/media-sound/upmpdcli/upmpdcli-1.7.9-r1.ebuild
index c38f8d283050..bba4fa0a43cb 100644
--- a/media-sound/upmpdcli/upmpdcli-1.7.9-r1.ebuild
+++ b/media-sound/upmpdcli/upmpdcli-1.7.9-r1.ebuild
@@ -30,6 +30,7 @@ RDEPEND="
 
 PATCHES=(
 	"${FILESDIR}"/makefile.patch
+	"${FILESDIR}"/configure.patch
 )
 
 src_prepare() {
@@ -39,6 +40,8 @@ src_prepare() {
 
 src_configure() {
 
+	eautoconf
+
 	./configure \
 		--prefix=/usr \
 		--sysconfdir=/etc \


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-10 15:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-10 15:58 [gentoo-commits] repo/gentoo:master commit in: media-sound/upmpdcli/, media-sound/upmpdcli/files/ Erik Mackdanz
  -- strict thread matches above, loose matches on Subject: below --
2023-02-09  2:54 Erik Mackdanz
2019-02-09 15:53 Erik Mackdanz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox