mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: haruna: Fix finding yt-dlp.
* gnu/packages/kde-multimedia.scm (haruna)[arguments]<#:phases>: Add fix-yt-dlp-path. Change-Id: I3f6e3f5b9f2dd56ec69b6ea38a0da9a5e01a1909 Signed-off-by: Zheng Junjie <z572@z572.online>
This commit is contained in:
@@ -156,7 +156,16 @@ This package is part of the KDE multimedia module.")
|
||||
(base32 "0gvwsxlrwn2s6i4agmwa0r1lq1fybfyxv933g2z3n76qnn9mkbrb"))))
|
||||
(build-system qt-build-system)
|
||||
(arguments
|
||||
(list #:qtbase qtbase))
|
||||
(list #:qtbase qtbase
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-yt-dlp-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "src/application.cpp"
|
||||
(("findExecutable\\(u\"yt-dlp\"")
|
||||
(string-append "findExecutable(u\""
|
||||
(search-input-file inputs "bin/yt-dlp")
|
||||
"\""))))))))
|
||||
(native-inputs
|
||||
(list extra-cmake-modules))
|
||||
(inputs
|
||||
|
||||
Reference in New Issue
Block a user