From b5834e880afce846aeee843964d5756f4693b010 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Sat, 6 Jul 2024 10:19:44 +0800 Subject: gnu: Add ksvg. * gnu/packages/kde-frameworks.scm (ksvg): New variable. Change-Id: I7b5eec1f32015c3d76178af705c59bbb3fcf60bd --- gnu/packages/kde-frameworks.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 0bf82a02f1..080258b7d3 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -1075,6 +1075,44 @@ (define-public kplotting pixel units.") (license license:lgpl2.1+))) +(define-public ksvg + (package + (name "ksvg") + (version "6.3.1") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "15n7schzmwq4z0yiw0l1js45mml5wq3syb5vc7j9hs88j1jdcp6q")))) + (build-system qt-build-system) + (native-inputs + (list extra-cmake-modules qttools)) + (inputs + (list + qtdeclarative + qtsvg + karchive + kconfig + kcolorscheme + kcoreaddons + kguiaddons + kirigami)) + (arguments + (list #:qtbase qtbase + #:phases #~(modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + (setenv "HOME" (getcwd))))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Components for handling SVGs") + (description "A library for rendering SVG-based themes with stylesheet +re-coloring and on-disk caching.") + (license license:lgpl2.1+))) + (define-public ksyntaxhighlighting (package (name "ksyntaxhighlighting") -- cgit v1.2.3