Sfoglia il codice sorgente

package/mpd: update to version 0.24.3

Since version 0.24.0, support for SoundCloud was removed and
yajl replaced with with json-for-modern-cpp.

Consolidated list of changes:

* decoder
  - ffmpeg: support WMA
  - mpg123: fix trailing space in tag values
  - flac: enable chained Ogg decoding
* input
  - qobuz: use nlohmann_json instead of yajl
  - io_uring: fix stuck seek after I/O error
  - curl: fix malformed "Range" header
* log: include year in time stamp
* output
  - oss: fix error "Resource temporarily unavailable"
  - shout: fix hang on activating shout output
  - snapcast: use nlohmann_json instead of yajl to generate JSON tags
  - sndio: fix rounding error in volume calculation
* player
  - fix stalled playback after queue modification
  - fix deadlock with "single" mode
* playlist
  - soundcloud: remove defunct plugin
* tags
  - libid3tag: fix Meson subproject configure error
  - libid3tag: add missing zlib dependency to Meson subproject
  - fix build failure in the "id3tag" Meson subproject
* Linux
  - allow using io_uring on Linux kernels older than 6.0
  - fix build failure with ancient kernel headers
  - add configure-time check for openat2()
  - fix use-after-free bug on io_uring shutdown
* DSD: support channel conversion

Change log:
  https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.24.3/NEWS

Signed-off-by: Andreas Ziegler <br015@umbiko.net>
[Julien:
 - remove test logs from commit log
 - add the removed config entry in Config.in.legacy
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
Andreas Ziegler 3 mesi fa
parent
commit
b1ebc686d3
4 ha cambiato i file con 13 aggiunte e 20 eliminazioni
  1. 6 0
      Config.in.legacy
  2. 1 8
      package/mpd/Config.in
  3. 1 1
      package/mpd/mpd.hash
  4. 5 11
      package/mpd/mpd.mk

+ 6 - 0
Config.in.legacy

@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2025.05"
 
+config BR2_PACKAGE_MPD_SOUNDCLOUD
+	bool "mpd soundcloud support has been removed"
+	select BR2_LEGACY
+	help
+	  MPD SoundCloud support has been removed.
+
 # BR2_PACKAGE_DOCKER_ENGINE_DOCKER_INIT is still referenced in docker-engine
 config BR2_PACKAGE_DOCKER_ENGINE_DOCKER_INIT
 	bool "docker-engine init support is now a choice"

+ 1 - 8
package/mpd/Config.in

@@ -48,17 +48,10 @@ config BR2_PACKAGE_MPD_QOBUZ
 	depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
 	select BR2_PACKAGE_MPD_CURL
 	select BR2_PACKAGE_LIBGCRYPT
-	select BR2_PACKAGE_YAJL
+	select BR2_PACKAGE_JSON_FOR_MODERN_CPP
 	help
 	  Play songs from the commercial streaming service Qobuz.
 
-config BR2_PACKAGE_MPD_SOUNDCLOUD
-	bool "soundcloud"
-	select BR2_PACKAGE_MPD_CURL
-	select BR2_PACKAGE_YAJL
-	help
-	  Enable soundcloud.com playlist support.
-
 comment "Converter plugins"
 
 config BR2_PACKAGE_MPD_LIBSAMPLERATE

+ 1 - 1
package/mpd/mpd.hash

@@ -1,3 +1,3 @@
 # Locally calculated after checking pgp signature
-sha256  1c828a290816d540fb2dec90f78044b55ff5ef8b49dd47a639ac34e3e5226bc5  mpd-0.24.tar.xz
+sha256  4225680e068b2ad87e3c2de414ec3209758de93d671f89fa3bae90b70af478a2  mpd-0.24.3.tar.xz
 sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  COPYING

+ 5 - 11
package/mpd/mpd.mk

@@ -5,7 +5,7 @@
 ################################################################################
 
 MPD_VERSION_MAJOR = 0.24
-MPD_VERSION = $(MPD_VERSION_MAJOR)
+MPD_VERSION = $(MPD_VERSION_MAJOR).3
 MPD_SOURCE = mpd-$(MPD_VERSION).tar.xz
 MPD_SITE = https://www.musicpd.org/download/mpd/$(MPD_VERSION_MAJOR)
 MPD_DEPENDENCIES = host-pkgconf fmt
@@ -44,11 +44,11 @@ else
 MPD_CONF_OPTS += -Dicu=disabled
 endif
 
-ifeq ($(BR2_PACKAGE_YAJL),y)
-MPD_DEPENDENCIES += yajl
-MPD_CONF_OPTS += -Dyajl=enabled
+ifeq ($(BR2_PACKAGE_JSON_FOR_MODERN_CPP),y)
+MPD_DEPENDENCIES += json-for-modern-cpp
+MPD_CONF_OPTS += -Dnlohmann_json=enabled
 else
-MPD_CONF_OPTS += -Dyajl=disabled
+MPD_CONF_OPTS += -Dnlohmann_json=disabled
 endif
 
 ifeq ($(BR2_PACKAGE_MPD_ALSA),y)
@@ -285,12 +285,6 @@ else
 MPD_CONF_OPTS += -Dsidplay=disabled
 endif
 
-ifeq ($(BR2_PACKAGE_MPD_SOUNDCLOUD),y)
-MPD_CONF_OPTS += -Dsoundcloud=enabled
-else
-MPD_CONF_OPTS += -Dsoundcloud=disabled
-endif
-
 ifeq ($(BR2_PACKAGE_MPD_SQLITE),y)
 MPD_DEPENDENCIES += sqlite
 MPD_CONF_OPTS += -Dsqlite=enabled