summary refs log tree commit diff
path: root/gnu/packages/image-processing.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2021-03-05 02:43:33 -0300
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-06 14:00:23 +0100
commit78e99ae6ce1e60f3e65c05334df26e3fe7e5006f (patch)
treecef6ce3efad36d5f37cb56062a6290692a7623b9 /gnu/packages/image-processing.scm
parentf23ba5d9af8a4aacfa721491df2ce100d4a39889 (diff)
downloadguix-78e99ae6ce1e60f3e65c05334df26e3fe7e5006f.tar.gz
gnu: Add gmic-qt-krita.
* gnu/packages/image-processing.scm (gmic-qt-krita): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/image-processing.scm')
-rw-r--r--gnu/packages/image-processing.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 034918f52f..5dfd18d1bd 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -672,6 +672,18 @@ including 2D color images.")
     (synopsis "Qt frontend for the G'MIC image processing framework")
     (license license:gpl3+)))
 
+(define-public gmic-qt-krita
+  (package
+    (inherit gmic-qt)
+    (name "gmic-qt-krita")
+    (arguments
+     (substitute-keyword-arguments (package-arguments gmic-qt)
+       ((#:configure-flags flags)
+        '(list "-DGMIC_QT_HOST=krita" "-DENABLE_DYNAMIC_LINKING=ON"
+               (string-append "-DGMIC_LIB_PATH="
+                              (assoc-ref %build-inputs "gmic") "/lib")))))
+    (synopsis "Krita plugin for the G'MIC image processing framework")))
+
 (define-public nip2
   (package
     (name "nip2")