gnu: WebKitGTK: Embed absolute file name of libWPEBackend-fdo-1.0.so.
Fixes <https://bugs.gnu.org/37545>. Reported by Vagrant Cascadian <vagrant@debian.org>. * gnu/packages/webkit.scm (webkitgtk)[arguments]: Add phase.
This commit is contained in:
parent
c5ceec4150
commit
1714edc3d4
|
@ -165,6 +165,13 @@ engine that uses Wayland for graphics output.")
|
||||||
"/xml/dtd/docbook/docbookx.dtd"))))
|
"/xml/dtd/docbook/docbookx.dtd"))))
|
||||||
(find-files "Source" "\\.sgml$"))
|
(find-files "Source" "\\.sgml$"))
|
||||||
#t))
|
#t))
|
||||||
|
(add-after 'unpack 'embed-absolute-wpebackend-reference
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((wpebackend-fdo (assoc-ref inputs "wpebackend-fdo")))
|
||||||
|
(substitute* "Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp"
|
||||||
|
(("libWPEBackend-fdo-([\\.0-9]+)\\.so" all version)
|
||||||
|
(string-append wpebackend-fdo "/lib/" all)))
|
||||||
|
#t)))
|
||||||
(add-after 'install 'move-doc-files
|
(add-after 'install 'move-doc-files
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
|
|
Loading…
Reference in New Issue