z572 pushed a commit to branch kde-team
in repository guix.

commit 1a9e9dea1a09f27e193ebf0df7429b53f301f293
Author: Zheng Junjie <zhengjun...@iscas.ac.cn>
AuthorDate: Sat Jul 6 10:19:44 2024 +0800

    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(+)

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 @@ data being plotted.  KPlotWidget automatically converts 
everything to screen
 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")

Reply via email to