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

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

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

Change-Id: I8544f882c5bf72d963ddc8b2ee53170899891c55
---
 gnu/packages/kde-frameworks.scm | 36 ++++++++++++++++++++++++---------
 1 file changed, 27 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 3338924775..24a3b6dc7b 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -700,10 +700,10 @@ (define-public kconfig
                    license:lgpl3+ license:gpl1 ; licende:mit-olif
                    license:bsd-2 license:bsd-3))))
 
-(define-public kcoreaddons
+(define-public kcoreaddons-6
   (package
     (name "kcoreaddons")
-    (version "5.114.0")
+    (version "6.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -712,13 +712,10 @@ (define-public kcoreaddons
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1wv3s3xsiii96k17nzs2fb0ih2lyg52krf58v44nlk9wfi4wmnqx"))))
-    (build-system cmake-build-system)
-    (native-inputs
-     (list extra-cmake-modules qttools-5 shared-mime-info))
-    ;; TODO: FAM: File alteration notification http://oss.sgi.com/projects/fam
-    (inputs
-     (list qtbase-5))
+                "0hrkxa0gq3pp08d7kgfz3z7mhg6v9h2j8c1az0x8mcl34jdfy23n"))))
+    (build-system qt-build-system)
+    (native-inputs (list extra-cmake-modules qttools shared-mime-info))
+    (inputs (list qtbase qtdeclarative))
     (arguments
      (list
       #:phases
@@ -746,6 +743,27 @@ (define-public kcoreaddons
 many more.")
     (license (list license:lgpl2.0+ license:lgpl2.1+))))
 
+(define-public kcoreaddons
+  (package
+    (inherit kcoreaddons-6)
+    (name "kcoreaddons")
+    (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
+                "1wv3s3xsiii96k17nzs2fb0ih2lyg52krf58v44nlk9wfi4wmnqx"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     (list extra-cmake-modules qttools-5 shared-mime-info))
+    ;; TODO: FAM: File alteration notification http://oss.sgi.com/projects/fam
+    (inputs
+     (list qtbase-5))))
+
 (define-public kdbusaddons
   (package
     (name "kdbusaddons")
-- 
2.41.0