[packages/mpd] up to 0.24.9
atler
atler at pld-linux.org
Wed Mar 11 13:42:38 CET 2026
commit 16d3ba9be699010600fd71d509db4b29594e254f
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Mar 11 13:42:28 2026 +0100
up to 0.24.9
mpd.spec | 6 ++++--
upnp-1.14.30.patch | 20 ++++++++++++++++++++
2 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/mpd.spec b/mpd.spec
index 008e124..886827d 100644
--- a/mpd.spec
+++ b/mpd.spec
@@ -9,16 +9,17 @@
Summary: Music Player Daemon
Summary(pl.UTF-8): Music Player Daemon - demon odtwarzający muzykę
Name: mpd
-Version: 0.24.8
+Version: 0.24.9
Release: 1
License: GPL v2+
Group: Applications/Multimedia
Source0: https://www.musicpd.org/download/mpd/0.24/%{name}-%{version}.tar.xz
-# Source0-md5: 6f0dd6059e034d5b9102f3e6506b2976
+# Source0-md5: c31646e1bc6ad0a9ec6b24bc8999374b
Source1: %{name}.conf
Source2: %{name}.init
Source3: %{name}.sysconfig
Source4: %{name}.tmpfiles
+Patch0: upnp-1.14.30.patch
URL: http://www.musicpd.org/
BuildRequires: OpenAL-devel
BuildRequires: adplug-devel
@@ -190,6 +191,7 @@ Pliki ikon dla Music Player Daemon (MPD).
%prep
%setup -q
+%patch -P0 -p1
%build
%meson \
diff --git a/upnp-1.14.30.patch b/upnp-1.14.30.patch
new file mode 100644
index 0000000..30f3b20
--- /dev/null
+++ b/upnp-1.14.30.patch
@@ -0,0 +1,20 @@
+--- mpd-0.24.9/src/lib/upnp/meson.build.orig 2026-03-11 11:54:28.000000000 +0100
++++ mpd-0.24.9/src/lib/upnp/meson.build 2026-03-11 13:34:51.467872649 +0100
+@@ -13,7 +13,7 @@
+ if upnp_option == 'auto'
+ upnp_dep = dependency('libupnp', version: '>= 1.8', required: false)
+
+- if upnp_dep.found() and upnp_dep.version().version_compare('>= 1.14.26')
++ if upnp_dep.found() and upnp_dep.version().version_compare('>= 1.14.26') and upnp_dep.version().version_compare('!= 1.14.30')
+ warning('Your libupnp version is known to be broken, see https://github.com/pupnp/pupnp/issues/528 - disabling')
+ upnp_dep = dependency('', required: false)
+ endif
+@@ -25,7 +25,7 @@
+ elif upnp_option == 'pupnp'
+ upnp_dep = dependency('libupnp', version: '>= 1.8', required: true)
+
+- if upnp_dep.found() and upnp_dep.version().version_compare('>= 1.14.26')
++ if upnp_dep.found() and upnp_dep.version().version_compare('>= 1.14.26') and upnp_dep.version().version_compare('!= 1.14.30')
+ error('Your libupnp version is known to be broken, see https://github.com/pupnp/pupnp/issues/528')
+ endif
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mpd.git/commitdiff/16d3ba9be699010600fd71d509db4b29594e254f
More information about the pld-cvs-commit
mailing list