gnu: mkvtoolnix:gui: Don't require :out to be installed.
* gnu/packages/video.scm (mkvtoolnix)[arguments]: Add a ‘patch-relative-file-names’ phase to call ‘mkvmerge’ from :out.master
parent
df14dc48fb
commit
07272bd8e0
|
@ -418,6 +418,13 @@ H.264 (MPEG-4 AVC) video streams.")
|
||||||
"--enable-precompiled-headers=no")
|
"--enable-precompiled-headers=no")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-relative-file-names
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(substitute* "src/mkvtoolnix-gui/util/settings.cpp"
|
||||||
|
(("mkvmerge" match)
|
||||||
|
(string-append out "/bin/" match)))
|
||||||
|
#t)))
|
||||||
(add-before 'configure 'add-googletest
|
(add-before 'configure 'add-googletest
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(symlink
|
(symlink
|
||||||
|
|
Reference in New Issue