gnu: pipe-viewer: Correct references to youtube-dl program.

* gnu/packages/videos.scm (pipe-viewer)[phases](patch-source): Modify.
This commit is contained in:
Raghav Gururajan 2021-07-20 07:54:56 -04:00
parent 7b9c4417d5
commit e644e45aec
No known key found for this signature in database
GPG Key ID: 5F5816647F8BE551
1 changed files with 5 additions and 1 deletions

View File

@ -1055,7 +1055,11 @@ H.264 (MPEG-4 AVC) video streams.")
(modify-phases %standard-phases
(add-after 'unpack 'patch-source
(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'")
(format #f "'~a/bin/ffmpeg'"
(assoc-ref inputs "ffmpeg")))