diff options
author | Julien Lepiller <julien@lepiller.eu> | 2019-12-19 13:02:07 +0100 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2019-12-23 12:48:11 +0100 |
commit | 8e5567195f5d29301d571612085b5afdb460619d (patch) | |
tree | 7f32446779fa0452bfb74caf741cbbd2bdc2f388 /gnu/packages | |
parent | b0d09586b1092ad15496ed08bb7631eaa8dc9a86 (diff) | |
download | guix-8e5567195f5d29301d571612085b5afdb460619d.tar guix-8e5567195f5d29301d571612085b5afdb460619d.tar.gz |
gnu: icecat: Fix linking with ffmpeg.
* gnu/packages/gnuzilla.scm (icecat)[arguments]: Add
'fix-ffmpeg-runtime-linker' phase.
Co-authored-by: Mark H Weaver <mhw@netris.org>.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/gnuzilla.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 2f15beecc7..d5d9839e1a 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -964,6 +964,13 @@ from forcing GEXP-PROMISE." 'avcodec', 'avutil', 'pulse' ]\n\n" all))) #t)) + (add-after 'link-libxul-with-libraries 'fix-ffmpeg-runtime-linker + (lambda* (#:key inputs #:allow-other-keys) + ;; Arrange to load libavcodec.so by its absolute file name. + (substitute* "dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp" + (("libavcodec\\.so") + (string-append (assoc-ref inputs "ffmpeg") "/lib/libavcodec.so"))) + #t)) (replace 'bootstrap (lambda _ (invoke "sh" "-c" "autoconf old-configure.in > old-configure") |