mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-06 03:17:15 -05:00
gnu: Add gmic-qt.
* gnu/packages/image-processing.scm (gmic-qt): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
75862a9ea7
commit
f23ba5d9af
1 changed files with 24 additions and 0 deletions
|
@ -648,6 +648,30 @@ (define-public gmic
|
||||||
;; Dual-licensed, either license applies.
|
;; Dual-licensed, either license applies.
|
||||||
(license (list license:cecill license:cecill-c))))
|
(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
|
(define-public nip2
|
||||||
(package
|
(package
|
||||||
(name "nip2")
|
(name "nip2")
|
||||||
|
|
Loading…
Reference in a new issue