gnu: pipe-viewer: Correct references to yt-dlp program.
* gnu/packages/video.scm (pipe-viewer)[inputs]: Add yt-dlp. [phases](patch-source): Modify.
This commit is contained in:
parent
6dc682e5b9
commit
96a6084cd8
@ -1106,7 +1106,10 @@ H.264 (MPEG-4 AVC) video streams.")
|
|||||||
(substitute* (find-files "lib" "\\.pm$")
|
(substitute* (find-files "lib" "\\.pm$")
|
||||||
(("\"youtube-dl\"")
|
(("\"youtube-dl\"")
|
||||||
(format #f "\"~a/bin/youtube-dl\""
|
(format #f "\"~a/bin/youtube-dl\""
|
||||||
(assoc-ref inputs "youtube-dl"))))
|
(assoc-ref inputs "youtube-dl")))
|
||||||
|
(("\"yt-dlp\"")
|
||||||
|
(format #f "\"~a/bin/yt-dlp\""
|
||||||
|
(assoc-ref inputs "yt-dlp"))))
|
||||||
(substitute* (find-files "bin" ".*-viewer$")
|
(substitute* (find-files "bin" ".*-viewer$")
|
||||||
(("'ffmpeg'")
|
(("'ffmpeg'")
|
||||||
(format #f "'~a/bin/ffmpeg'"
|
(format #f "'~a/bin/ffmpeg'"
|
||||||
@ -1119,7 +1122,10 @@ H.264 (MPEG-4 AVC) video streams.")
|
|||||||
(assoc-ref inputs "xdg-utils")))
|
(assoc-ref inputs "xdg-utils")))
|
||||||
(("'youtube-dl'")
|
(("'youtube-dl'")
|
||||||
(format #f "'~a/bin/youtube-dl'"
|
(format #f "'~a/bin/youtube-dl'"
|
||||||
(assoc-ref inputs "youtube-dl"))))))
|
(assoc-ref inputs "youtube-dl")))
|
||||||
|
(("'yt-dlp'")
|
||||||
|
(format #f "'~a/bin/yt-dlp'"
|
||||||
|
(assoc-ref inputs "yt-dlp"))))))
|
||||||
(add-after 'install 'install-xdg
|
(add-after 'install 'install-xdg
|
||||||
(lambda args
|
(lambda args
|
||||||
(apply (assoc-ref copy:%standard-phases 'install)
|
(apply (assoc-ref copy:%standard-phases 'install)
|
||||||
@ -1172,7 +1178,8 @@ H.264 (MPEG-4 AVC) video streams.")
|
|||||||
("perl-uri-escape" ,perl-uri-escape)
|
("perl-uri-escape" ,perl-uri-escape)
|
||||||
("wget" ,wget)
|
("wget" ,wget)
|
||||||
("xdg-utils" ,xdg-utils)
|
("xdg-utils" ,xdg-utils)
|
||||||
("youtube-dl" ,youtube-dl)))
|
("youtube-dl" ,youtube-dl)
|
||||||
|
("yt-dlp" ,yt-dlp)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("dconf" ,dconf)))
|
`(("dconf" ,dconf)))
|
||||||
(home-page "https://github.com/trizen/pipe-viewer")
|
(home-page "https://github.com/trizen/pipe-viewer")
|
||||||
|
Loading…
Reference in New Issue
Block a user