Subject: [bug#70395] [PATCH kde-team 40/63] gnu: Add kjobwidgets-6.

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

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

Change-Id: I313118b71ec232f7e1e8f71e5db59e718c75ba76
---
 gnu/packages/kde-frameworks.scm | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 02d2d0f1d0..9f9e26d550 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2663,10 +2663,10 @@ (define-public kimageformats
 formats.")
     (license license:lgpl2.1+)))
 
-(define-public kjobwidgets
+(define-public kjobwidgets-6
   (package
     (name "kjobwidgets")
-    (version "5.114.0")
+    (version "6.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -2675,18 +2675,37 @@ (define-public kjobwidgets
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1ymlqi5cqcs79nj1vff8pqwgvy0dxj5vv7l529w3a3n315hkrny8"))))
+                "1f7xaij2amax4pwy15bb83dwzjvhsdd4hr4mb9h7lliqifsdsydc"))))
     (build-system cmake-build-system)
     (native-inputs
-     (list extra-cmake-modules qttools-5))
+     (list extra-cmake-modules qttools))
     (inputs
-     (list kcoreaddons kwidgetsaddons qtbase-5 qtx11extras))
+     (list libxkbcommon kcoreaddons-6 knotifications-6 kwidgetsaddons-6 qtbase))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Widgets for showing progress of asynchronous jobs")
     (description "KJobWIdgets provides widgets for showing progress of
 asynchronous jobs.")
     (license license:lgpl2.1+)))
 
+(define-public kjobwidgets
+  (package
+    (inherit kjobwidgets-6)
+    (name "kjobwidgets")
+    (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
+                "1ymlqi5cqcs79nj1vff8pqwgvy0dxj5vv7l529w3a3n315hkrny8"))))
+    (native-inputs
+     (list extra-cmake-modules qttools-5))
+    (inputs
+     (list kcoreaddons kwidgetsaddons qtbase-5 qtx11extras))))
+
 (define-public knotifications-6
   (package
     (name "knotifications")
-- 
2.41.0