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

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

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

Change-Id: I8bc19051a22465d3ac651678c5164e859a5ed3c8
---
 gnu/packages/kde-frameworks.scm | 31 ++++++++++++++++++++++++-------
 1 file changed, 24 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index cbe9eb7ba1..be2fd51974 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2048,10 +2048,10 @@ (define-public sonnet
            hunspell
            qtdeclarative-5))))
 
-(define-public threadweaver
+(define-public threadweaver-6
   (package
     (name "threadweaver")
-    (version "5.114.0")
+    (version "6.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -2060,18 +2060,35 @@ (define-public threadweaver
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1y07g58w6z3i11y3djg3aaxanhp9hzaciq61l4dn1gqwghn09xgh"))))
+                "1j4d8m7cy0xps56dq6iq8hpzz024wdqz6i6hrfs7ww31im8db9fx"))))
     (build-system cmake-build-system)
-    (native-inputs
-     (list extra-cmake-modules))
-    (inputs
-     (list qtbase-5))
+    (native-inputs (list extra-cmake-modules))
+    (inputs (list qtbase))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Helper for multithreaded programming")
     (description "ThreadWeaver is a helper for multithreaded programming.  It
 uses a job-based interface to queue tasks and execute them in an efficient way.")
     (license license:lgpl2.1+)))
 
+(define-public threadweaver
+  (package
+    (inherit threadweaver-6)
+    (name "threadweaver")
+    (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
+                "1y07g58w6z3i11y3djg3aaxanhp9hzaciq61l4dn1gqwghn09xgh"))))
+    (native-inputs
+     (list extra-cmake-modules))
+    (inputs
+     (list qtbase-5))))
+
 (define-public libkdcraw
   (package
     (name "libkdcraw")
-- 
2.41.0