summary refs log tree commit diff
path: root/gnu/packages/mpd.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-12-18 05:39:32 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2021-12-18 05:42:07 +0100
commit3b2b42034c42ccb1dd8845bc03dd3a8053b54aca (patch)
tree825f207eec770d4b7aec3182e70b58a607da0507 /gnu/packages/mpd.scm
parent287c404c7fee617b6c9e05f0f4e537b519973228 (diff)
downloadguix-3b2b42034c42ccb1dd8845bc03dd3a8053b54aca.tar.gz
gnu: mpd-mpc: Update to 0.34.
* gnu/packages/mpd.scm (mpd-mpc): Update to 0.34.
[arguments]: Add a new 'remove-bogus-rsync-requirement phase.
Diffstat (limited to 'gnu/packages/mpd.scm')
-rw-r--r--gnu/packages/mpd.scm16
1 files changed, 14 insertions, 2 deletions
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index ab7cebfe23..ad89acda04 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -30,6 +30,7 @@
 (define-module (gnu packages mpd)
   #:use-module (gnu packages)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix gexp)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
@@ -174,7 +175,7 @@ protocol.")
 (define-public mpd-mpc
   (package
     (name "mpd-mpc")
-    (version "0.33")
+    (version "0.34")
     (source (origin
               (method url-fetch)
               (uri
@@ -183,8 +184,19 @@ protocol.")
                               "/mpc-" version ".tar.xz"))
               (sha256
                (base32
-                "15hjpzqs83v1zx49x8nkpwy9hpl1jxd55z1w50vm82gm32zcqh2g"))))
+                "086sdx88zvgbv4j9kw4qlrsw1n621d6j6403pcid045wahv3y7k9"))))
     (build-system meson-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'remove-bogus-rsync-requirement
+                 ;; Meson thinks a maintainer ‘upload to musicpd.org’ task
+                 ;; merits a hard dependency on rsync.  Convince it otherwise.
+                 ;; Don't use ‘true’ so that the build will fail if it is ever
+                 ;; actually invoked.
+                 (lambda _
+                   (substitute* "doc/meson.build"
+                     (("rsync") "ls")))))))
     (inputs (list libmpdclient))
     (native-inputs
      (list pkg-config python-sphinx))