[PATCH v2] MPD: Add missing inputs and update to 0.23.12

  • Open
  • quality assurance status badge
Details
One participant
  • mirai
Owner
unassigned
Submitted by
mirai
Severity
normal
M
[PATCH] gnu: mpd: Add missing inputs.
(address . guix-patches@gnu.org)(name . Bruno Victal)(address . mirai@makinata.eu)
608863f38d5920d26d1d86e38e5de2ea1776d64c.1672157416.git.mirai@makinata.eu
From: Bruno Victal <mirai@makinata.eu>

Enable more features for MPD.

* gnu/packages/mpd.scm (mpd)[inputs]: Add liburing, chromaprint, expat,
libgme, libnfs, libopenmpt, libshout, pcre2, soxr, yajl and zziplib.
---
gnu/packages/mpd.scm | 67 ++++++++++++++++++++++++++------------------
1 file changed, 39 insertions(+), 28 deletions(-)

Toggle diff (104 lines)
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 63fb9bc974..0659257ede 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -49,6 +49,7 @@ (define-module (gnu packages mpd)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages cmake) ;for MPD
#:use-module (gnu packages cpp)
+ #:use-module (gnu packages file-systems)
#:use-module (gnu packages freedesktop) ;elogind
#:use-module (gnu packages gettext)
#:use-module (gnu packages gnome)
@@ -81,7 +82,8 @@ (define-module (gnu packages mpd)
#:use-module (gnu packages tls)
#:use-module (gnu packages video)
#:use-module (gnu packages web)
- #:use-module (gnu packages xiph))
+ #:use-module (gnu packages xiph)
+ #:use-module (gnu packages xml))
(define-public libmpdclient
(package
@@ -144,41 +146,50 @@ (define-public mpd
(string-append "_" all)))
(substitute* "meson.build"
(("systemd_dep,") "systemd_dep, _systemd_dep,")))))))
- (inputs (list ao
- alsa-lib
- avahi
- boost
- curl
- elogind
- ffmpeg
- flac
- fmt
- glib
- icu4c
- ;; The LAME decoder comes from FFmpeg, but is added here so that
- ;; configure picks up the LAME encoder.
- lame
- libid3tag
- libmpdclient
- libsamplerate
- libsndfile
- libvorbis
- opus
- pipewire-0.3
- pulseaudio
- sqlite
- zlib))
+ (inputs (append
+ (if (target-linux?) (list liburing) '())
+ (list ao
+ alsa-lib
+ avahi
+ boost
+ chromaprint
+ curl
+ elogind
+ expat
+ ffmpeg
+ flac
+ fmt
+ glib
+ icu4c
+ ;; The LAME decoder comes from FFmpeg, but is added here so that
+ ;; configure picks up the LAME encoder.
+ lame
+ libgme
+ libid3tag
+ libmpdclient
+ libnfs
+ libopenmpt
+ libsamplerate
+ libshout
+ libsndfile
+ libvorbis
+ opus
+ pcre2
+ pipewire-0.3
+ pulseaudio
+ soxr
+ sqlite
+ yajl
+ zlib
+ zziplib)))
(native-inputs (list cmake pkg-config python-sphinx))
;; Missing optional inputs:
- ;; yajl
;; libcdio_paranoia
;; libmms
;; libadplug
;; libaudiofile
;; faad2
;; fluidsynth
- ;; libgme
- ;; libshout
;; libmpg123
;; libmodplug
;; libmpcdec

base-commit: 8f93a1e01a879ae026678dd92c18e2a2a49be540
--
2.38.1
B
B
B
Bruno Victal wrote on 23 Jan 21:04 +0100
[PATCH v2 1/2] gnu: mpd: Add missing inputs.
(address . 60357@debbugs.gnu.org)(name . Bruno Victal)(address . mirai@makinata.eu)
8fe214abd2d169cda635b86051b1032904da48c5.1674504266.git.mirai@makinata.eu
Enable more features for MPD.

* gnu/packages/mpd.scm (mpd)[inputs]: Add liburing, chromaprint, expat,
libgme, libnfs, libopenmpt, libshout, pcre2, soxr, yajl and zziplib.
---
gnu/packages/mpd.scm | 67 ++++++++++++++++++++++++++------------------
1 file changed, 39 insertions(+), 28 deletions(-)

Toggle diff (104 lines)
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 63163e09dc..fc52f377a8 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -49,6 +49,7 @@ (define-module (gnu packages mpd)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages cmake) ;for MPD
#:use-module (gnu packages cpp)
+ #:use-module (gnu packages file-systems)
#:use-module (gnu packages freedesktop) ;elogind
#:use-module (gnu packages gettext)
#:use-module (gnu packages gnome)
@@ -81,7 +82,8 @@ (define-module (gnu packages mpd)
#:use-module (gnu packages tls)
#:use-module (gnu packages video)
#:use-module (gnu packages web)
- #:use-module (gnu packages xiph))
+ #:use-module (gnu packages xiph)
+ #:use-module (gnu packages xml))
(define-public libmpdclient
(package
@@ -144,41 +146,50 @@ (define-public mpd
(string-append "_" all)))
(substitute* "meson.build"
(("systemd_dep,") "systemd_dep, _systemd_dep,")))))))
- (inputs (list ao
- alsa-lib
- avahi
- boost
- curl
- elogind
- ffmpeg
- flac
- fmt
- glib
- icu4c
- ;; The LAME decoder comes from FFmpeg, but is added here so that
- ;; configure picks up the LAME encoder.
- lame
- libid3tag
- libmpdclient
- libsamplerate
- libsndfile
- libvorbis
- opus
- pipewire
- pulseaudio
- sqlite
- zlib))
+ (inputs (append
+ (if (target-linux?) (list liburing) '())
+ (list ao
+ alsa-lib
+ avahi
+ boost
+ chromaprint
+ curl
+ elogind
+ expat
+ ffmpeg
+ flac
+ fmt
+ glib
+ icu4c
+ ;; The LAME decoder comes from FFmpeg, but is added here so that
+ ;; configure picks up the LAME encoder.
+ lame
+ libgme
+ libid3tag
+ libmpdclient
+ libnfs
+ libopenmpt
+ libsamplerate
+ libshout
+ libsndfile
+ libvorbis
+ opus
+ pcre2
+ pipewire
+ pulseaudio
+ soxr
+ sqlite
+ yajl
+ zlib
+ zziplib)))
(native-inputs (list cmake pkg-config python-sphinx))
;; Missing optional inputs:
- ;; yajl
;; libcdio_paranoia
;; libmms
;; libadplug
;; libaudiofile
;; faad2
;; fluidsynth
- ;; libgme
- ;; libshout
;; libmpg123
;; libmodplug
;; libmpcdec

base-commit: 9e4f1f8c339cb5f1d3dcf9b22ae74cd5b1c25053
--
2.38.1
B
B
Bruno Victal wrote on 23 Jan 21:04 +0100
[PATCH v2 2/2] gnu: mpd: Update to 0.23.12.
(address . 60357@debbugs.gnu.org)(name . Bruno Victal)(address . mirai@makinata.eu)
31bd6ed4b16a4d3c5606f6a14da77ef642d21cf3.1674504266.git.mirai@makinata.eu
* gnu/packages/mpd.scm (mpd): Update to 0.23.12.
---
gnu/packages/mpd.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index fc52f377a8..0526fd42d6 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -118,7 +118,7 @@ (define-public libmpdclient
(define-public mpd
(package
(name "mpd")
- (version "0.23.11")
+ (version "0.23.12")
(source (origin
(method url-fetch)
(uri
@@ -127,7 +127,7 @@ (define-public mpd
"/mpd-" version ".tar.xz"))
(sha256
(base32
- "1afwvw2670yz3kxzlqjlg9r8ra8fjihj97hgc6skiwnzz6lfgd7d"))))
+ "1rq2hyfvwwri3sivab747csza2i096y7m8563rl5mhpchhiadz5p"))))
(build-system meson-build-system)
(arguments
(list
--
2.38.1
B
B
Bruno Victal wrote on 23 Jan 21:41 +0100
(no subject)
(name . control)(address . control@debbugs.gnu.org)
c5f66256-029c-daf9-e818-70c1b30bf222@makinata.eu
retitle 60357 [PATCH v2] MPD: Add missing inputs and update to 0.23.12
quit
?