From: ng0 <n...@we.make.ritual.n0.is> * gnu/packages/graphics.scm (krita): New variable. --- gnu/packages/graphics.scm | 80 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index b55285707..fec4bb491 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2016 Ricardo Wurmus <rek...@elephly.net> ;;; Copyright © 2016 Efraim Flashner <efr...@flashner.co.il> ;;; Copyright © 2016 Andreas Enge <andr...@enge.fr> +;;; Copyright © 2016 ng0 <n...@we.make.ritual.n0.is> ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,7 +36,9 @@ #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages boost) + #:use-module (gnu packages curl) #:use-module (gnu packages documentation) + #:use-module (gnu packages gettext) #:use-module (gnu packages haskell) #:use-module (gnu packages image) #:use-module (gnu packages python) @@ -44,8 +47,10 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate #:use-module (gnu packages compression) + #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) #:use-module (gnu packages boost) + #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages graphviz) @@ -53,7 +58,10 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages image) #:use-module (gnu packages jemalloc) + #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages photo) + #:use-module (gnu packages perl) + #:use-module (gnu packages pdf) #:use-module (gnu packages python) #:use-module (gnu packages qt) #:use-module (gnu packages readline) @@ -537,3 +545,75 @@ and understanding different BRDFs (and other component functions).") It supports sub-pixel resolutions and anti-aliasing. It is also library for rendering SVG graphics.") (license license:gpl2+))) + +(define-public krita + (package + (name "krita") + (version "3.0") + (source (origin + (method url-fetch) + (uri (string-append + "http://download.kde.org/stable/krita/" + "3.0.0/" name "-" version ".tgz")) + (sha256 + (base32 + "0nlwka1x5apwm7y0i65y25nxjymrfvys162c10r6v7bh7di8bsjc")))) + (build-system cmake-build-system) + (arguments + `(#:make-flags + (list (string-append "-DWITH_FFTW3=" + (assoc-ref %build-inputs "fftw")) + (string-append "-DWITH_GSL=" + (assoc-ref %build-inputs "gsl")) + (string-append "-DWITH_LibRaw=" + (assoc-ref %build-inputs "libraw")) + (string-append "-DWITH_JPEG=" + (assoc-ref %build-inputs "openjpeg")) + (string-append "-DWITH_OpenEXR=" + (assoc-ref %build-inputs "openexr")) + (string-append "-DWITH_Poppler=" + (assoc-ref %build-inputs "poppler")) + (string-append "-DWITH_TIFF=" + (assoc-ref %build-inputs "libtiff"))))) + (inputs + `(("karchive" ,karchive) + ("kcompletion" ,kcompletion) + ("kconfig" ,kconfig) + ("kcoreaddons" ,kcoreaddons) + ("kcrash" ,kcrash) + ("kguiaddons" ,kguiaddons) + ;; ("kil8n" ,kil8n) + ("kiconthemes" ,kiconthemes) + ("kio" ,kio) + ("kitemmodels" ,kitemmodels) + ("kitemviews" ,kitemviews) + ("kwidgetsaddons" ,kwidgetsaddons) + ("kwindowsystem" ,kwindowsystem) + ("kxmlgui" ,kxmlgui) + ("qtsvg" ,qtsvg) + ("qtx11extras" ,qtx11extras) + ("boost" ,boost) + ("exiv2" ,exiv2) + ("lcms" ,lcms) + ("libpng" ,libpng) + ("curl" ,curl) + ("zlib" ,zlib) + ("libx11" ,libx11) + ("libxcb" ,libxcb) + ("libxi" ,libxi) + ("fftw" ,fftw) + ("gsl" ,gsl) + ("openjpeg" ,openjpeg) + ("ilmbase" ,ilmbase) + ("openexr" ,openexr) + ("poppler" ,poppler) + ("libraw" ,libraw) + ("libtiff" ,libtiff) + ("eigen" ,eigen) + ("perl" ,perl) + ("gettext-minimal" ,gettext-minimal))) + (home-page "https://krita.org") + (synopsis "Digital painting application") + (description + "FOO") + (license license:gpl2+))) ; probably more -- 2.11.0