diff options
author | Vinicius Monego <monego@posteo.net> | 2021-03-05 02:14:16 -0300 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-03-06 14:00:03 +0100 |
commit | f23ba5d9af8a4aacfa721491df2ce100d4a39889 (patch) | |
tree | 89a3fc489b22dd6bd11c25020a2af48d7ab13e12 | |
parent | 75862a9ea7b8902aebe739c784dcbcc82ee4fbf1 (diff) | |
download | guix-f23ba5d9af8a4aacfa721491df2ce100d4a39889.tar.gz |
gnu: Add gmic-qt.
* gnu/packages/image-processing.scm (gmic-qt): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/image-processing.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index 81b90d87ec..034918f52f 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -648,6 +648,30 @@ including 2D color images.") ;; Dual-licensed, either license applies. (license (list license:cecill license:cecill-c)))) +(define-public gmic-qt + (package + (inherit gmic) + (name "gmic-qt") + (arguments + (substitute-keyword-arguments (package-arguments gmic) + ((#:configure-flags _) + `(list "-DGMIC_QT_HOST=none" "-DENABLE_DYNAMIC_LINKING=ON" + (string-append "-DGMIC_LIB_PATH=" + (assoc-ref %build-inputs "gmic") "/lib"))) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'qt-chdir + (lambda _ (chdir "gmic-qt") #t)))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("qttools" ,qttools))) + (inputs + `(("gmic" ,gmic) + ("qtbase" ,qtbase) + ,@(package-inputs gmic))) + (synopsis "Qt frontend for the G'MIC image processing framework") + (license license:gpl3+))) + (define-public nip2 (package (name "nip2") |