Subject: [PATCH kde-team 60/63] gnu: Add ksvg.

From: Zheng Junjie <[email-masked]>
Date: Mon, 15 Apr 2024 20:47:37 +0800

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

Change-Id: Ia3cf9d73db7876e5fc6568dc7a487b7f968b6b3b
---
 gnu/packages/kde-frameworks.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index b49a23f022..b36c05d19d 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1444,6 +1444,39 @@ (define-public kplotting
      (list extra-cmake-modules qttools-5))
     (arguments '())))
 
+(define-public ksvg
+  (package
+    (name "ksvg")
+    (version "6.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://kde/stable/frameworks/"
+                    (version-major+minor version) "/"
+                    name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0pvb3fvzxc3niny9cqwvbvpkgj4x1r62pkd3c0cpd3b7r0g8wsi8"))))
+    (build-system qt-build-system)
+    (native-inputs
+     (list extra-cmake-modules qttools))
+    (inputs
+     (list
+      qtdeclarative
+      qtsvg
+      karchive-6
+      kconfig-6
+      kcolorscheme
+      kcoreaddons-6
+      kguiaddons-6
+      kirigami-6))
+    (arguments (list #:qtbase qtbase))
+    (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-6
   (package
     (name "ksyntaxhighlighting")
-- 
2.41.0