z572 pushed a commit to branch kde-team
in repository guix.

commit 19ddf4689937b10861b0277755ebf5a3f04b1bbf
Author: Zheng Junjie <zhengjun...@iscas.ac.cn>
AuthorDate: Sat Jul 6 01:04:26 2024 +0800

    gnu: kauth: Update to 6.3.0.
    
    * gnu/packages/kde-frameworks.scm (kauth): Update to 6.3.0.
    [inputs]: Remove kcoreaddons, polkit-qt, and qtbase-5; add kwindowsystem,
    polkit-qt6, and qtbase.
    [propagated-inputs]: Add kcoreaddons.
    [native-inputs]: Remove qttools-5; add qttools.
    [arguments]: Adjust fix-cmake-install-directories phase.
    
    Change-Id: I93d498aeb5405e1bc044960b5d5cf34de1910d78
---
 gnu/packages/kde-frameworks.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 1719ac994f..e930222b20 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1634,7 +1634,7 @@ with other frameworks.")
 (define-public kauth
   (package
     (name "kauth")
-    (version "5.114.0")
+    (version "6.3.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -1643,12 +1643,13 @@ with other frameworks.")
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1rkf9mc9718wn8pzd3d3wcg3lsn0vkr9a2cqnz86rbg3cf2qdbir"))))
+                "1d9kmxbb3rx4nx1yq0crywirmnnp8qvhs2pdng7s49pqdy0kdkzb"))))
     (build-system cmake-build-system)
     (native-inputs
-     (list dbus extra-cmake-modules qttools-5))
+     (list dbus extra-cmake-modules qttools))
+    (propagated-inputs (list kcoreaddons))
     (inputs
-     (list kcoreaddons polkit-qt qtbase-5))
+     (list kwindowsystem polkit-qt6 qtbase))
     (arguments
      (list
       #:phases
@@ -1657,7 +1658,9 @@ with other frameworks.")
             (lambda _
               ;; Make packages using kauth put their policy files and helpers
               ;; into their own prefix.
-              (substitute* "KF5AuthConfig.cmake.in"
+              (substitute* #$(string-append "KF" (version-major
+                                                  (package-version 
this-package))
+                                            "AuthConfig.cmake.in")
                 (("@KAUTH_POLICY_FILES_INSTALL_DIR@")
                  "${KDE_INSTALL_DATADIR}/polkit-1/actions")
                 (("@KAUTH_HELPER_INSTALL_DIR@")

Reply via email to