summaryrefslogtreecommitdiff
path: root/gnu/packages/mpd.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/mpd.scm')
-rw-r--r--gnu/packages/mpd.scm45
1 files changed, 24 insertions, 21 deletions
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 4df2dfd655..6b7c78c71b 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -9,7 +9,7 @@
;;; Copyright © 2019 Evan Straw <evan.straw99@gmail.com>
;;; Copyright © 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Lars-Dominik Braun <lars@6xq.net>
-;;; Copyright © 2020–2022 Simon Streit <simon@netpanic.org>
+;;; Copyright © 2020–2023 Simon Streit <simon@netpanic.org>
;;; Copyright © 2021 Noah Evans <noah@nevans.me>
;;;
;;; This file is part of GNU Guix.
@@ -444,27 +444,30 @@ other MPD frontends.")
(build-system gnu-build-system)
;; Manually wrap the binary, because we’re not using python-build-system.
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'install 'wrap-program
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (python-path (getenv "GUIX_PYTHONPATH")))
- (wrap-program (string-append out "/bin/mpDris2")
- `("GUIX_PYTHONPATH" ":" prefix (,python-path)))
- #t))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'wrap-program
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((python-path (getenv "GUIX_PYTHONPATH")))
+ (wrap-program (string-append #$output "/bin/mpDris2")
+ `("GUIX_PYTHONPATH" ":" prefix (,python-path)))))))))
(inputs
- (list python-mpd2 python-dbus python-pygobject python)) ; Sets GUIX_PYTHONPATH.
- ;; For bootstrapping.
+ (list bash-minimal
+ python
+ python-dbus
+ python-mpd2
+ python-mutagen
+ python-pygobject))
(native-inputs
- `(("autoconf" ,autoconf)
- ("automake" ,automake)
- ("gettext" ,gettext-minimal)
- ("which" ,which)
- ("intltool" ,intltool)))
+ (list autoconf
+ automake
+ gettext-minimal
+ intltool
+ which))
(synopsis "MPRIS V2.1 support for MPD")
- (description "Client for the Music Player Daemon providing MPRIS 2
-support")
+ (description "mpDris2 is a client for the Music Player Daemon providing
+MPRIS 2 support.")
(home-page "https://github.com/eonpatapon/mpDris2")
(license license:gpl3+)))
@@ -597,7 +600,7 @@ mpdevil loads all tags and covers on demand.")
(define-public mympd
(package
(name "mympd")
- (version "10.2.1")
+ (version "10.2.4")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -606,7 +609,7 @@ mpdevil loads all tags and covers on demand.")
(file-name (git-file-name name version))
(sha256
(base32
- "1zici4sfpd2hra14dy7vp2x0w3i46a2d422inkixkp4cpm14rj9s"))))
+ "0544vx9x103394mz2x92ycfj5lh59xrzcvagi4q0jb9b1hh44s6p"))))
(build-system cmake-build-system)
(arguments
(list #:tests? #f)) ; no test target