[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
268/285: gnu: curseradio: Link to mpv.
From: |
guix-commits |
Subject: |
268/285: gnu: curseradio: Link to mpv. |
Date: |
Sun, 29 Dec 2019 20:44:45 -0500 (EST) |
kkebreau pushed a commit to branch wip-gnome3.34
in repository guix.
commit feacd761aae88f7eff266300894b5793372018fd
Author: Efraim Flashner <address@hidden>
Date: Sun Dec 29 09:49:32 2019 +0200
gnu: curseradio: Link to mpv.
This fixes https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38789
* gnu/packages/music.scm (curseradio)[arguments]: Add phase to hardcode
path of mpv.
[propagated-inputs]: Move mpv ...
[inputs]: ... to here.
---
gnu/packages/music.scm | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 6d17de9..9cd1c17 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2569,11 +2569,21 @@ socket or command line.")
(base32
"11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'link-to-mpv
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "curseradio/curseradio.py"
+ (("/usr/bin/mpv")
+ (string-append (assoc-ref inputs "mpv") "/bin/mpv")))
+ #t)))))
(propagated-inputs
`(("python-lxml" ,python-lxml)
("python-requests" ,python-requests)
- ("python-pyxdg" ,python-pyxdg)
- ("mpv" ,mpv)))
+ ("python-pyxdg" ,python-pyxdg)))
+ (inputs
+ `(("mpv" ,mpv)))
(home-page "https://github.com/chronitis/curseradio")
(synopsis "Command-line Internet radio player")
(description "Curseradio is a Curses-based radio player that uses a
- 284/285: gnu: gnome-themes-extra: Remove cache file., (continued)
- 284/285: gnu: gnome-themes-extra: Remove cache file., guix-commits, 2019/12/29
- 216/285: gnu: r-car: Update to 3.0-6., guix-commits, 2019/12/29
- 224/285: guix: emacs-utils: Add emacs-batch-disable-compilation., guix-commits, 2019/12/29
- 250/285: gnu: beets: Add support for Acoustid., guix-commits, 2019/12/29
- 253/285: gnu: python-waf: Add some extra tools., guix-commits, 2019/12/29
- 255/285: gnu: password-store: Make search path single-entry., guix-commits, 2019/12/29
- 258/285: gnu: Add picom., guix-commits, 2019/12/29
- 261/285: gnu: ruby-multi-json: Don't use unstable tarball., guix-commits, 2019/12/29
- 264/285: gnu: ruby-guard: Don't use unstable tarball., guix-commits, 2019/12/29
- 269/285: gnu: Add ghc-filepath-bytestring., guix-commits, 2019/12/29
- 268/285: gnu: curseradio: Link to mpv.,
guix-commits <=
- 271/285: gnu: diffoscope: Update to 134., guix-commits, 2019/12/29
- 272/285: gnu: portaudio: Fix build., guix-commits, 2019/12/29
- 285/285: gnu: guix-data-service: Update to 0.0.1-13.82b797e., guix-commits, 2019/12/29
- 282/285: services: dhcp-client: Ignore interfaces that cannot be activated., guix-commits, 2019/12/29
- 262/285: gnu: ruby-ae: Don't use unstable tarball., guix-commits, 2019/12/29
- 266/285: gnu: ruby-oj: Don't use unstable tarball., guix-commits, 2019/12/29
- 270/285: gnu: pelican: Update to 4.2., guix-commits, 2019/12/29
- 265/285: gnu: ruby-spring: Don't use unstable tarball., guix-commits, 2019/12/29
- 277/285: git-authenticate: Add glv to the list of committers., guix-commits, 2019/12/29
- 273/285: gnu: gnome: Update dependencies., guix-commits, 2019/12/29