summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Meyer <mark@ofosos.org>2017-12-13 23:49:09 +0100
committerKei Kebreau <kkebreau@posteo.net>2017-12-16 16:50:31 -0500
commit1475d5c6c7fab1a77b5282522c851a5fd50b483e (patch)
tree59ddc1beb1f28296b1fe99ad9f214802406faf2a
parente908a5af89614987302b32ac84e7d3af1c33e549 (diff)
downloadguix-1475d5c6c7fab1a77b5282522c851a5fd50b483e.tar.gz
gnu: krita: Enhance krita.
* gnu/packages/kde.scm (krita)[inputs]: Add libjpeg-turbo, ilmbase and openexr.
[native-inputs]: Add vc.
[arguments]: Set path to headers for ilmbase.

Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
-rw-r--r--gnu/packages/kde.scm13
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index b5a3df2ca3..89ad30ecd2 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -256,14 +256,18 @@ plugins, as well as code to create plugins, or complete applications.")
              (string-append "-DWITH_LibRaw="
                             (assoc-ref %build-inputs "libraw"))
              (string-append "-DWITH_TIFF="
-                            (assoc-ref %build-inputs "libtiff")))))
+                            (assoc-ref %build-inputs "libtiff"))
+             (string-append "-DCMAKE_CXX_FLAGS=-I"
+                            (assoc-ref %build-inputs "ilmbase")
+                            "/include/OpenEXR"))))
     (native-inputs
      `(("curl" ,curl)
        ("eigen" ,eigen)
        ("extra-cmake-modules" ,extra-cmake-modules)
        ("gettext-minimal" ,gettext-minimal)
        ("kitemmodels" ,kitemmodels)
-       ("qwt" ,qwt)))
+       ("qwt" ,qwt)
+       ("vc" ,vc)))
     (inputs
      `(("qtbase" ,qtbase)
        ("qtdeclarative" ,qtdeclarative)
@@ -287,6 +291,7 @@ plugins, as well as code to create plugins, or complete applications.")
        ("exiv2" ,exiv2)
        ("lcms" ,lcms)
        ("libpng" ,libpng)
+       ("libjpeg-turbo" ,libjpeg-turbo)
        ("zlib" ,zlib)
        ("libx11" ,libx11)
        ("libxcb" ,libxcb)
@@ -296,7 +301,9 @@ plugins, as well as code to create plugins, or complete applications.")
        ("poppler-qt5" ,poppler-qt5)
        ("libraw" ,libraw)
        ("libtiff" ,libtiff)
-       ("perl" ,perl)))
+       ("perl" ,perl)
+       ("ilmbase" ,ilmbase)
+       ("openexr" ,openexr)))
     (home-page "https://krita.org")
     (synopsis "Digital painting application")
     (description