mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 10:16:45 +01:00
gnu: krita: Switch to qt-build-system.
* gnu/packages/kde.scm (krita)[build-system]: Switch to qt-build-system. [arguments]<#:phases>: Remove 'wrap-executable phase that is performed by the new build system. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
c076952596
commit
a034024e6e
1 changed files with 2 additions and 17 deletions
|
@ -483,25 +483,10 @@ (define-public krita
|
||||||
".tar.gz"))
|
".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0mycxrqp944kp5bhlv8c1x1ikn9av1q7dhzl32jd6gxbphyq7mc4"))))
|
(base32 "0mycxrqp944kp5bhlv8c1x1ikn9av1q7dhzl32jd6gxbphyq7mc4"))))
|
||||||
(build-system cmake-build-system)
|
(build-system qt-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
`(#:tests? #f
|
||||||
#:configure-flags (list "-DBUILD_TESTING=OFF")
|
#:configure-flags (list "-DBUILD_TESTING=OFF")))
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
;; Ensure that icons are found at runtime.
|
|
||||||
;; This works around <https://bugs.gnu.org/22138>.
|
|
||||||
(add-after 'install 'wrap-executable
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(let ((out (assoc-ref outputs "out"))
|
|
||||||
(qt '("qtbase" "qtsvg")))
|
|
||||||
(wrap-program (string-append out "/bin/krita")
|
|
||||||
`("QT_PLUGIN_PATH" ":" prefix
|
|
||||||
,(map (lambda (label)
|
|
||||||
(string-append (assoc-ref inputs label)
|
|
||||||
"/lib/qt5/plugins/"))
|
|
||||||
qt)))
|
|
||||||
#t))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list curl
|
(list curl
|
||||||
eigen
|
eigen
|
||||||
|
|
Loading…
Reference in a new issue