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
This commit is contained in:
Zheng Junjie 2024-07-06 01:04:26 +08:00
parent e64392fdf1
commit 8c304250f7
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0

View File

@ -1634,7 +1634,7 @@ with other frameworks.")
(define-public kauth (define-public kauth
(package (package
(name "kauth") (name "kauth")
(version "5.114.0") (version "6.3.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -1643,12 +1643,13 @@ with other frameworks.")
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1rkf9mc9718wn8pzd3d3wcg3lsn0vkr9a2cqnz86rbg3cf2qdbir")))) "1d9kmxbb3rx4nx1yq0crywirmnnp8qvhs2pdng7s49pqdy0kdkzb"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
(list dbus extra-cmake-modules qttools-5)) (list dbus extra-cmake-modules qttools))
(propagated-inputs (list kcoreaddons))
(inputs (inputs
(list kcoreaddons polkit-qt qtbase-5)) (list kwindowsystem polkit-qt6 qtbase))
(arguments (arguments
(list (list
#:phases #:phases
@ -1657,7 +1658,9 @@ with other frameworks.")
(lambda _ (lambda _
;; Make packages using kauth put their policy files and helpers ;; Make packages using kauth put their policy files and helpers
;; into their own prefix. ;; 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@") (("@KAUTH_POLICY_FILES_INSTALL_DIR@")
"${KDE_INSTALL_DATADIR}/polkit-1/actions") "${KDE_INSTALL_DATADIR}/polkit-1/actions")
(("@KAUTH_HELPER_INSTALL_DIR@") (("@KAUTH_HELPER_INSTALL_DIR@")