[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: gnu: mpv: Set absolute path to 'youtube-dl'.
From: |
guix-commits |
Subject: |
05/08: gnu: mpv: Set absolute path to 'youtube-dl'. |
Date: |
Mon, 8 Apr 2019 04:42:58 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 3df69aaf630efa5b5f7d56bb10239646792dda1d
Author: Timo Eisenmann <address@hidden>
Date: Thu Mar 28 21:00:54 2019 +0100
gnu: mpv: Set absolute path to 'youtube-dl'.
* gnu/packages/video.scm (mpv)[arguments]: Add phase 'patch-paths' to
substitute in the absolute path to 'youtube-dl'.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/video.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 3a043fb..8aedc1c 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1326,6 +1326,14 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
(arguments
'(#:phases
(modify-phases %standard-phases
+ (add-after
+ 'unpack 'patch-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((ytdl (assoc-ref inputs "youtube-dl")))
+ (substitute* "player/lua/ytdl_hook.lua"
+ (("\"youtube-dl\",")
+ (string-append "\"" ytdl "/bin/youtube-dl\",")))
+ #t)))
(add-before
'configure 'setup-waf
(lambda* (#:key inputs #:allow-other-keys)
- branch master updated (bf71ac0 -> 8d75e20), guix-commits, 2019/04/08
- 01/08: gnu: guix: Update to d78bfd2., guix-commits, 2019/04/08
- 02/08: gnu: sbcl-trivial-backtrace: Fix 'license' field., guix-commits, 2019/04/08
- 03/08: gnu: scalapack: Use 'non-copyleft' as the license., guix-commits, 2019/04/08
- 06/08: installer: Xfce service uses the 'service' form., guix-commits, 2019/04/08
- 05/08: gnu: mpv: Set absolute path to 'youtube-dl'.,
guix-commits <=
- 04/08: licenses: Remove 'bsd-style'., guix-commits, 2019/04/08
- 07/08: installer: Generate 'set-xorg-configuration' snippet., guix-commits, 2019/04/08
- 08/08: installer: Use 'append' and 'list' instead of 'cons*'., guix-commits, 2019/04/08