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 <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gyorgy Sarvari 2025-12-24 23:18:51 +01:00 committed by Khem Raj
parent 0ecf2814b2
commit a8f10b2aa0
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 15 additions and 21 deletions

View File

@ -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
}

View File

@ -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"