Subject: [PATCH kde-team 36/63] gnu: Add syndication-6.

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

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

Change-Id: Ic1c97ced5ce2083ba09212787bed59295531ed81
---
 gnu/packages/kde-frameworks.scm | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 1b1aa1ad7c..089ed0f4c3 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2940,10 +2940,10 @@ (define-public kunitconversion
     (inputs
      (list ki18n qtbase-5))))
 
-(define-public syndication
+(define-public syndication-6
   (package
     (name "syndication")
-    (version "5.114.0")
+    (version "6.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -2952,12 +2952,12 @@ (define-public syndication
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "13rjb1zm9yd8vbm9h7avqih5v0rr2srqwglm29l7mcnankqlh4n7"))))
+                "10wn5z1xqjs9bfy37f6ilr0j3z3rgcs91dp7iccc291h5r53km89"))))
     (build-system cmake-build-system)
     (native-inputs
      (list extra-cmake-modules))
     (inputs
-     (list kcodecs qtbase-5))
+     (list kcodecs-6 qtbase))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "RSS/Atom parser library")
     (description "@code{syndication} supports RSS (0.9/1.0, 0.91..2.0) and
@@ -2966,6 +2966,24 @@ (define-public syndication
 between feed formats.")
     (license license:lgpl2.1+)))
 
+(define-public syndication
+  (package
+    (inherit syndication-6)
+    (name "syndication")
+    (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
+                "13rjb1zm9yd8vbm9h7avqih5v0rr2srqwglm29l7mcnankqlh4n7"))))
+    (native-inputs
+     (list extra-cmake-modules))
+    (inputs
+     (list kcodecs qtbase-5))))
 
 ;; Tier 3
 ;;
-- 
2.41.0