Subject: [PATCH kde-team 07/63] gnu: Add kdnssd-6.

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

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

Change-Id: I29e1255a49079167f7edeb46908d62cb5fe5a722
---
 gnu/packages/kde-frameworks.scm | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 6c12faac80..42045389e7 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -836,10 +836,10 @@ (define-public kdbusaddons
                      (setenv "DBUS_FATAL_WARNINGS" "0")
                      (invoke "dbus-launch" "ctest")))))))))
 
-(define-public kdnssd
+(define-public kdnssd-6
   (package
     (name "kdnssd")
-    (version "5.114.0")
+    (version "6.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -848,13 +848,12 @@ (define-public kdnssd
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1zw5rkprr54j05ic8zljk57zahp2v6333slr253r3n1679zqlv64"))))
+                "04mpcwxkncvydhkjrxinv7qvs6yk6106vxa62crysrgjd5x1z61v"))))
     (build-system cmake-build-system)
     (native-inputs
-     (list extra-cmake-modules qttools-5))
-    (inputs
-     (list avahi ; alternativly dnssd could be used
-           qtbase-5))
+     (list extra-cmake-modules qttools))
+    (inputs (list avahi ; alternativly dnssd could be used
+                  qtbase))
     (home-page "https://community.kde.org/Frameworks")
     (synopsis "Network service discovery using Zeroconf")
     (description "KDNSSD is a library for handling the DNS-based Service
@@ -863,6 +862,25 @@ (define-public kdnssd
 infrastructure.")
     (license license:lgpl2.1+)))
 
+(define-public kdnssd
+  (package
+    (inherit kdnssd-6)
+    (name "kdnssd")
+    (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
+                "1zw5rkprr54j05ic8zljk57zahp2v6333slr253r3n1679zqlv64"))))
+    (native-inputs
+     (list extra-cmake-modules qttools-5))
+    (inputs
+     (list avahi qtbase-5))))
+
 (define-public kgraphviewer
   (package
     (name "kgraphviewer")
-- 
2.41.0