gnu: qtwebkit: Fix rpath for the qmlwebkit plugins.
After the qtbase installation directories have been changed, the relative RPATH in the libs no longer matched the sructure. * gnu/packages/qt.scm(qtwebkit)[arguments]: New phase fix-qmlwebkit-plugins-rpath.
This commit is contained in:
parent
163651cbdc
commit
4eb972b95c
@ -1890,6 +1890,15 @@ different kinds of sliders, and much more.")
|
|||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'fix-qmlwebkit-plugins-rpath
|
||||||
|
(lambda _
|
||||||
|
(substitute* "Source/WebKit/qt/declarative/experimental/experimental.pri"
|
||||||
|
(("RPATHDIR_RELATIVE_TO_DESTDIR = \\.\\./\\.\\./lib")
|
||||||
|
"RPATHDIR_RELATIVE_TO_DESTDIR = ../../../../../lib"))
|
||||||
|
(substitute* "Source/WebKit/qt/declarative/public.pri"
|
||||||
|
(("RPATHDIR_RELATIVE_TO_DESTDIR = \\.\\./\\.\\./lib")
|
||||||
|
"RPATHDIR_RELATIVE_TO_DESTDIR = ../../../../lib"))
|
||||||
|
#t))
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(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
Block a user