Subject: [PATCH kde-team 13/63] gnu: Add kplotting-6.

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

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

Change-Id: I07929866d016d160a8cbe2b9ee21e244ca60edba
---
 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 e10427c23c..fb19220480 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1239,10 +1239,10 @@ (define-public kitemviews
      (list extra-cmake-modules qttools-5))
     (arguments '())))
 
-(define-public kplotting
+(define-public kplotting-6
   (package
     (name "kplotting")
-    (version "5.114.0")
+    (version "6.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -1251,12 +1251,11 @@ (define-public kplotting
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "17x58pplln0plqiyhjpzdiqxngylxq5gkc5gk7b91xzm783x2k0n"))))
+                "1ymifg5yjjag65pqpwhcr3k5isx5fq6dgqlv9aj840xj4nbk28dv"))))
     (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 "Data plotting library")
     (description "KPlotWidget is a QWidget-derived class that provides a virtual
@@ -1266,6 +1265,24 @@ (define-public kplotting
 pixel units.")
     (license license:lgpl2.1+)))
 
+(define-public kplotting
+  (package
+    (inherit kplotting-6)
+    (name "kplotting")
+    (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
+                "17x58pplln0plqiyhjpzdiqxngylxq5gkc5gk7b91xzm783x2k0n"))))
+    (native-inputs
+     (list extra-cmake-modules qttools-5))
+    (arguments '())))
+
 (define-public ksyntaxhighlighting
   (package
     (name "ksyntaxhighlighting")
-- 
2.41.0