gnu: kiwix-desktop: Do not wrap with QTWEBENGINEPROCESS_PATH.

* gnu/packages/web.scm (kiwix-desktop) [arguments]: Remove
wrap-qt-process-path phase.

Change-Id: Iaf33c180268358a3b1bf1695b37313f20b410f9d
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail>
This commit is contained in:
宋文武 2025-02-02 12:34:58 +08:00 committed by Andreas Enge
parent d7ecd83d58
commit c41d2f5a4b
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -9628,15 +9628,7 @@ It contains the code shared by all Kiwix ports.")
(lambda* (#:key outputs #:allow-other-keys)
(invoke "qmake"
(string-append "PREFIX="
(assoc-ref outputs "out")))))
(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 (search-input-file
inputs "/lib/qt5/libexec/QtWebEngineProcess")))
(wrap-program bin
`("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))))))))
(assoc-ref outputs "out"))))))))
(inputs
(list bash-minimal
curl