gnu: Add ksvg.

* gnu/packages/kde-frameworks.scm (ksvg): New variable.

Change-Id: I7b5eec1f32015c3d76178af705c59bbb3fcf60bd
This commit is contained in:
Zheng Junjie 2024-07-06 10:19:44 +08:00
parent 7b30b1e741
commit b5834e880a
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -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")