gnu: krita: Add optional dependencies.

* gnu/packages/kde.scm (krita)[arguments]<#:configure-flags>: Don't set
-DCMAKE_CXX_FLAGS as it's not required for OpenEXR 3.
[inputs]: Remove ilmbase, openexr-2. Add imath, libmypaint, libwebp, openexr.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Vinicius Monego 2021-12-23 15:31:15 +00:00 committed by Nicolas Goaziou
parent 1e566de259
commit c076952596
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -61,6 +61,7 @@ (define-module (gnu packages kde)
#:use-module (gnu packages geo)
#:use-module (gnu packages gettext)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages gimp)
#:use-module (gnu packages gl)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gps)
@ -485,11 +486,7 @@ (define-public krita
(build-system cmake-build-system)
(arguments
`(#:tests? #f
#:configure-flags
(list "-DBUILD_TESTING=OFF"
(string-append "-DCMAKE_CXX_FLAGS=-I"
(assoc-ref %build-inputs "openexr")
"/include/OpenEXR"))
#:configure-flags (list "-DBUILD_TESTING=OFF")
#:phases
(modify-phases %standard-phases
;; Ensure that icons are found at runtime.
@ -520,7 +517,7 @@ (define-public krita
fftw
giflib
gsl
ilmbase
imath
karchive
kcompletion
kconfig
@ -538,14 +535,16 @@ (define-public krita
lcms
libjpeg-turbo
libheif
libmypaint
libpng
libraw-0.18
libtiff
libwebp
libx11
libxcb
libxi
opencolorio
openexr-2
openexr
openjpeg
perl
poppler-qt5