Subject: [PATCH kde-team 11/63] gnu: Add kitemviews-6.

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

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

Change-Id: Ifd038ed9ce377f28f3411da99d30bf428ac9cb12
---
 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 170a4c4e44..374519b979 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1180,10 +1180,10 @@ (define-public kitemmodels
 @end enumerate")
     (license license:lgpl2.1+)))
 
-(define-public kitemviews
+(define-public kitemviews-6
   (package
     (name "kitemviews")
-    (version "5.114.0")
+    (version "6.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -1192,12 +1192,11 @@ (define-public kitemviews
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "00vl2ck0pq0sqcxvhlr2pimgr27hd9v7y9dz6w4arb5smi5q1ixg"))))
+                "0k8ana91df4gi4ghk5p8kcz7y1f2qvhlz05ib64w6y4jlhm6rs79"))))
     (build-system qt-build-system)
     (native-inputs
-     (list extra-cmake-modules qttools-5))
-    (inputs
-     (list qtbase-5))
+     (list extra-cmake-modules qttools))
+    (arguments (list #:qtbase qtbase))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Set of item views extending the Qt model-view framework")
     (description "KItemViews includes a set of views, which can be used with
@@ -1205,6 +1204,24 @@ (define-public kitemviews
 to flat and hierarchical lists.")
     (license (list license:gpl2+ license:lgpl2.1+))))
 
+(define-public kitemviews
+  (package
+    (inherit kitemviews-6)
+    (name "kitemviews")
+    (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
+                "00vl2ck0pq0sqcxvhlr2pimgr27hd9v7y9dz6w4arb5smi5q1ixg"))))
+    (native-inputs
+     (list extra-cmake-modules qttools-5))
+    (arguments '())))
+
 (define-public kplotting
   (package
     (name "kplotting")
-- 
2.41.0