gnu: pipe-viewer: Correct references to youtube-dl program.
* gnu/packages/videos.scm (pipe-viewer)[phases](patch-source): Modify.
This commit is contained in:
parent
7b9c4417d5
commit
e644e45aec
@ -1055,7 +1055,11 @@ H.264 (MPEG-4 AVC) video streams.")
|
|||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-source
|
(add-after 'unpack 'patch-source
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* (find-files "." ".*-viewer$")
|
(substitute* (find-files "lib" "\\.pm$")
|
||||||
|
(("\"youtube-dl\"")
|
||||||
|
(format #f "\"~a/bin/youtube-dl\""
|
||||||
|
(assoc-ref inputs "youtube-dl"))))
|
||||||
|
(substitute* (find-files "bin" ".*-viewer$")
|
||||||
(("'ffmpeg'")
|
(("'ffmpeg'")
|
||||||
(format #f "'~a/bin/ffmpeg'"
|
(format #f "'~a/bin/ffmpeg'"
|
||||||
(assoc-ref inputs "ffmpeg")))
|
(assoc-ref inputs "ffmpeg")))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user