mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-03 16:57:55 +01:00
gnu: mpdris2: Remove input labels and add inputs.
* gnu/packages/mpd.scm (mpdris2)[arguments]: Use G-expressions. Remove trailing #T from phase. [inputs]: Remove labels. Add BASH-MINIMAL and PYTHON-MUTAGEN. [native-inputs]: Remove labels. [description]: Use complete sentence.
This commit is contained in:
parent
415db66877
commit
a694ef4802
1 changed files with 22 additions and 19 deletions
|
@ -9,7 +9,7 @@
|
||||||
;;; Copyright © 2019 Evan Straw <evan.straw99@gmail.com>
|
;;; Copyright © 2019 Evan Straw <evan.straw99@gmail.com>
|
||||||
;;; Copyright © 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2020 Lars-Dominik Braun <lars@6xq.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>
|
;;; Copyright © 2021 Noah Evans <noah@nevans.me>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
|
@ -444,27 +444,30 @@ (define-public mpdris2
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
;; Manually wrap the binary, because we’re not using python-build-system.
|
;; Manually wrap the binary, because we’re not using python-build-system.
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'install 'wrap-program
|
#~(modify-phases %standard-phases
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(add-after 'install 'wrap-program
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(python-path (getenv "GUIX_PYTHONPATH")))
|
(let ((python-path (getenv "GUIX_PYTHONPATH")))
|
||||||
(wrap-program (string-append out "/bin/mpDris2")
|
(wrap-program (string-append #$output "/bin/mpDris2")
|
||||||
`("GUIX_PYTHONPATH" ":" prefix (,python-path)))
|
`("GUIX_PYTHONPATH" ":" prefix (,python-path)))))))))
|
||||||
#t))))))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list python-mpd2 python-dbus python-pygobject python)) ; Sets GUIX_PYTHONPATH.
|
(list bash-minimal
|
||||||
;; For bootstrapping.
|
python
|
||||||
|
python-dbus
|
||||||
|
python-mpd2
|
||||||
|
python-mutagen
|
||||||
|
python-pygobject))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("autoconf" ,autoconf)
|
(list autoconf
|
||||||
("automake" ,automake)
|
automake
|
||||||
("gettext" ,gettext-minimal)
|
gettext-minimal
|
||||||
("which" ,which)
|
intltool
|
||||||
("intltool" ,intltool)))
|
which))
|
||||||
(synopsis "MPRIS V2.1 support for MPD")
|
(synopsis "MPRIS V2.1 support for MPD")
|
||||||
(description "Client for the Music Player Daemon providing MPRIS 2
|
(description "mpDris2 is a client for the Music Player Daemon providing
|
||||||
support")
|
MPRIS 2 support.")
|
||||||
(home-page "https://github.com/eonpatapon/mpDris2")
|
(home-page "https://github.com/eonpatapon/mpDris2")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue