mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-07 11:54:33 -05:00
gnu: kiwix-desktop: Fix program start.
Fixes <https://bugs.gnu.org/45404>. * gnu/packages/web.scm (kiwix-desktop)[arguments]: Add phase to wrap QTWEBENGINEPROCESS_PATH. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
This commit is contained in:
parent
c412900d3e
commit
9810ed344f
1 changed files with 11 additions and 1 deletions
|
@ -7981,7 +7981,17 @@ (define-public kiwix-desktop
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "kiwix-desktop.pro"
|
(substitute* "kiwix-desktop.pro"
|
||||||
(("webenginewidgets" all) (string-append all " printsupport")))
|
(("webenginewidgets" all) (string-append all " printsupport")))
|
||||||
#t)))))
|
#t))
|
||||||
|
(add-after 'install 'wrap-qt-process-path
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(bin (string-append out "/bin/kiwix-desktop"))
|
||||||
|
(qt-process-path (string-append
|
||||||
|
(assoc-ref inputs "qtwebengine")
|
||||||
|
"/lib/qt5/libexec/QtWebEngineProcess")))
|
||||||
|
(wrap-program bin
|
||||||
|
`("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
|
||||||
|
#t))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("curl" ,curl)
|
`(("curl" ,curl)
|
||||||
("icu4c" ,icu4c)
|
("icu4c" ,icu4c)
|
||||||
|
|
Loading…
Reference in a new issue