summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2021-12-23 15:31:16 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-26 21:36:09 +0100
commita034024e6ee4cde85fa1339809c4f40e25df2778 (patch)
tree1a5ef4ce3c48d93208666d8b853303cd1aa41396 /gnu
parentc076952596c78a8085715f92cfe771cde9c14dd1 (diff)
downloadguix-a034024e6ee4cde85fa1339809c4f40e25df2778.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde.scm19
1 files changed, 2 insertions, 17 deletions
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 5634119369..8531e8683e 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -483,25 +483,10 @@ expression library, that is used in Krita.")
              ".tar.gz"))
        (sha256
         (base32 "0mycxrqp944kp5bhlv8c1x1ikn9av1q7dhzl32jd6gxbphyq7mc4"))))
-    (build-system cmake-build-system)
+    (build-system qt-build-system)
     (arguments
      `(#:tests? #f
-       #: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))))))
+       #:configure-flags (list "-DBUILD_TESTING=OFF")))
     (native-inputs
      (list curl
            eigen