gnu: MPD: Update to 0.23.4.

* gnu/packages/mpd.scm (mpd): Update to 0.23.4.
[arguments]: Use meson-next for meson-build-system.
[inputs]: Add fmt.
[native-inputs]: Add cmake.
[properties]: Add release-monitoring-url.
This commit is contained in:
Leo Famulari 2021-10-22 15:40:05 -04:00
parent e5b53b1e82
commit c9b171f46b
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -42,8 +42,10 @@ (define-module (gnu packages mpd)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages avahi) #:use-module (gnu packages avahi)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages build-tools) ;meson-next
#:use-module (gnu packages boost) #:use-module (gnu packages boost)
#:use-module (gnu packages cdrom) #:use-module (gnu packages cdrom)
#:use-module (gnu packages cmake) ;for MPD
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
#:use-module (gnu packages gnome) #:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg) #:use-module (gnu packages gnupg)
@ -61,6 +63,7 @@ (define-module (gnu packages mpd)
#:use-module (gnu packages ncurses) #:use-module (gnu packages ncurses)
#:use-module (gnu packages pcre) #:use-module (gnu packages pcre)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages python) #:use-module (gnu packages python)
#:use-module (gnu packages python-xyz) #:use-module (gnu packages python-xyz)
#:use-module (gnu packages pulseaudio) #:use-module (gnu packages pulseaudio)
@ -105,7 +108,7 @@ (define-public libmpdclient
(define-public mpd (define-public mpd
(package (package
(name "mpd") (name "mpd")
(version "0.22.11") (version "0.23.4")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
@ -114,10 +117,11 @@ (define-public mpd
"/mpd-" version ".tar.xz")) "/mpd-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1850ii8vnv5l8b561fai4q2mcrnym94mvlrxiy48fvpfm8s7ygql")))) "0m67wibxc6n6438h2va59n51wwwbwhbdj9635cnpc3wqvlq9sd9g"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:configure-flags '("-Ddocumentation=enabled"))) `(#:meson ,meson-next ; Requires Meson >= 0.56.0
#:configure-flags '("-Ddocumentation=enabled")))
(inputs `(("ao" ,ao) (inputs `(("ao" ,ao)
("alsa-lib" ,alsa-lib) ("alsa-lib" ,alsa-lib)
("avahi" ,avahi) ("avahi" ,avahi)
@ -125,6 +129,7 @@ (define-public mpd
("curl" ,curl) ("curl" ,curl)
("ffmpeg" ,ffmpeg) ("ffmpeg" ,ffmpeg)
("flac" ,flac) ("flac" ,flac)
("fmt" ,fmt)
("glib" ,glib) ("glib" ,glib)
("icu4c" ,icu4c) ("icu4c" ,icu4c)
;; The LAME decoder comes from FFmpeg, but is added here so that ;; The LAME decoder comes from FFmpeg, but is added here so that
@ -139,7 +144,8 @@ (define-public mpd
("pulseaudio" ,pulseaudio) ("pulseaudio" ,pulseaudio)
("sqlite" ,sqlite) ("sqlite" ,sqlite)
("zlib" ,zlib))) ("zlib" ,zlib)))
(native-inputs `(("pkg-config" ,pkg-config) (native-inputs `(("cmake" ,cmake)
("pkg-config" ,pkg-config)
("python-sphinx" ,python-sphinx))) ("python-sphinx" ,python-sphinx)))
;; Missing optional inputs: ;; Missing optional inputs:
;; libyajl ;; libyajl
@ -167,6 +173,7 @@ (define-public mpd
can play a variety of sound files while being controlled by its network can play a variety of sound files while being controlled by its network
protocol.") protocol.")
(home-page "https://www.musicpd.org/") (home-page "https://www.musicpd.org/")
(properties `((release-monitoring-url . "https://musicpd.org")))
(license license:gpl2))) (license license:gpl2)))
(define-public mpd-mpc (define-public mpd-mpc