From a8f10b2aa0e246576b266dd6ea03c67fdf52afed Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Wed, 24 Dec 2025 23:18:51 +0100 Subject: [PATCH] libmpdclient: upgrade 2.22 -> 2.24 Though the original recipe claiumed to be v2.22, actually it was 2.20. The vala bindings have been dropped, so no need to delete them anymore. License-Update: The license itself hasn't changed between versions, but there are a couple of things to note: - Half of the source files are covered by 2-Clause-BSD, and other half by 3-Clause-BSD. This has been the case always, but until recently this was only specified in the source file headers, and there was a single license file with 3-Clause-BSD text. Now there is explicitly a 2-Clause- BSD file also. - The 3-Clase-BSD text was reformatted, and added placeholders for year and author. That is causing the hash change for this particular license. Changelog: 2.24: * fix missing "mpd_send_list_tag_types_available" in libmpdclient.ld * support MPD protocol 0.25 - stringnormalization 2.23: * support MPD protocol 0.24.0 - allow window for listplaylist and listplaylistinfo - command "playlistlength", "protocol", "stickertypes", "stickernamestypes", "searchplaylist" - tag "ShowMovement" - new sticker find api - new subcommands for "tagtypes": "available", "reset" * Support open end for mpd_search_add_window * format floating-point numbers with the POSIX localew 2.22: * drop the unmaintained Vala bindings * fix "version.h" conflicts when used as a Meson subproject * support MPD protocol 0.24.0 - command "save [create|replace|append]" 2.21: * meson.build: allow using as a Meson subproject * add mpd_recv_replay_gain_status() * support MPD protocol 0.24.0 - tag "Mood", "TitleSort" - "oneshot" consume state - allow range in "playlistmove" - commands "searchcount", "stickernames" - added attribute for songs - search: support constraint "added-since" Signed-off-by: Gyorgy Sarvari Signed-off-by: Khem Raj --- .../musicpd/libmpdclient_2.22.bb | 21 ------------------- .../musicpd/libmpdclient_2.24.bb | 15 +++++++++++++ 2 files changed, 15 insertions(+), 21 deletions(-) delete mode 100644 meta-multimedia/recipes-multimedia/musicpd/libmpdclient_2.22.bb create mode 100644 meta-multimedia/recipes-multimedia/musicpd/libmpdclient_2.24.bb diff --git a/meta-multimedia/recipes-multimedia/musicpd/libmpdclient_2.22.bb b/meta-multimedia/recipes-multimedia/musicpd/libmpdclient_2.22.bb deleted file mode 100644 index a9dae6073a..0000000000 --- a/meta-multimedia/recipes-multimedia/musicpd/libmpdclient_2.22.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "C client library for the Music Player Daemon" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://COPYING;md5=06b9dfd2f197dc514d8ef06549684b77" -HOMEPAGE = "https://www.musicpd.org/libs/libmpdclient/" - -inherit meson - -SRC_URI = " \ - git://github.com/MusicPlayerDaemon/libmpdclient;branch=master;protocol=https \ -" -SRCREV = "7124a0ad4841a44db084bb785a6e7120bc8f0139" - -PACKAGECONFIG ??= "tcp" -PACKAGECONFIG[tcp] = "-Dtcp=true,-Dtcp=false" - -do_install:append() { - # libmpdclient's Vala bindings are outdated and unmaintained; it - # is likely that nobody will ever use them, so let's not install - # them - rm -rf ${D}${datadir}/vala -} diff --git a/meta-multimedia/recipes-multimedia/musicpd/libmpdclient_2.24.bb b/meta-multimedia/recipes-multimedia/musicpd/libmpdclient_2.24.bb new file mode 100644 index 0000000000..3b12efa2e3 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/musicpd/libmpdclient_2.24.bb @@ -0,0 +1,15 @@ +SUMMARY = "C client library for the Music Player Daemon" +LICENSE = "BSD-2-Clause & BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSES/BSD-2-Clause.txt;md5=63d6ee386b8aaba70b1bf15a79ca50f2 \ + file://LICENSES/BSD-3-Clause.txt;md5=954f4d71a37096249f837652a7f586c0" +HOMEPAGE = "https://www.musicpd.org/libs/libmpdclient/" + +inherit meson + +SRC_URI = " \ + git://github.com/MusicPlayerDaemon/libmpdclient;branch=master;protocol=https;tag=v${PV} \ +" +SRCREV = "5073329989bf52676d8c446176a1d29ed3ffccca" + +PACKAGECONFIG ??= "tcp" +PACKAGECONFIG[tcp] = "-Dtcp=true,-Dtcp=false"