diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-08-26 19:22:00 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-08-27 08:49:14 +0200 |
commit | 07272bd8e0809de2dcfc068244c5218506418a10 (patch) | |
tree | 50438badd124f110a1dc6ede197550a1427c37d3 /gnu/packages/video.scm | |
parent | df14dc48fb34a0fb93cb62b7c9ca48722bd7a918 (diff) | |
download | guix-07272bd8e0809de2dcfc068244c5218506418a10.tar guix-07272bd8e0809de2dcfc068244c5218506418a10.tar.gz |
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.
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r-- | gnu/packages/video.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 055b9a0106..43581e7f62 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -418,6 +418,13 @@ H.264 (MPEG-4 AVC) video streams.") "--enable-precompiled-headers=no") #: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 (lambda* (#:key inputs #:allow-other-keys) (symlink |