Subject: [PATCH kde-team 12/63] gnu: Add kguiaddons-6.

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

* gnu/packages/kde-frameworks.scm (kguiaddons-6): New variable.
(kguiaddons): Inherit above.

Change-Id: If4f7ab2c09034843dac5f82da3063211c74201bb
---
 gnu/packages/kde-frameworks.scm | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 374519b979..e10427c23c 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -909,10 +909,10 @@ (define-public kgraphviewer
 replace the other outdated Graphviz tools.")
     (license license:gpl2+)))
 
-(define-public kguiaddons
+(define-public kguiaddons-6
   (package
     (name "kguiaddons")
-    (version "5.114.0")
+    (version "6.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -921,22 +921,39 @@ (define-public kguiaddons
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0riya9plcz9c1ndhdbsradssndshbm12705swn7vf7am17n7f947"))))
+                "0lxcwn7g5gkdfa4asfxxh9cxr70j2jsdk68li5rw1kabmr989n08"))))
     (build-system qt-build-system)
     ;; TODO: Build packages for the Python bindings.  Ideally this will be
     ;; done for all versions of python guix supports.  Requires python,
     ;; python-sip, clang-python, libclang.  Requires python-2 in all cases for
     ;; clang-python.
-    (native-inputs
-     (list extra-cmake-modules pkg-config))
+    (native-inputs (list extra-cmake-modules pkg-config))
     (inputs
-     (list qtbase-5 qtwayland-5 qtx11extras plasma-wayland-protocols wayland))
+     (list libxkbcommon qtbase qtwayland plasma-wayland-protocols wayland))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Utilities for graphical user interfaces")
     (description "The KDE GUI addons provide utilities for graphical user
 interfaces in the areas of colors, fonts, text, images, keyboard input.")
     (license (list license:gpl2+ license:lgpl2.1+))))
 
+(define-public kguiaddons
+  (package
+    (inherit kguiaddons-6)
+    (name "kguiaddons")
+    (version "5.114.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://kde/stable/frameworks/"
+                    (version-major+minor version) "/"
+                    name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0riya9plcz9c1ndhdbsradssndshbm12705swn7vf7am17n7f947"))))
+    (native-inputs (list extra-cmake-modules pkg-config))
+    (inputs
+     (list qtbase-5 qtwayland-5 qtx11extras plasma-wayland-protocols wayland))))
+
 (define-public kholidays-6
   (package
     (name "kholidays")
-- 
2.41.0