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 @@ (define-public kactivities
(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 @@ (define-public kauth
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 @@ (define-public kauth
(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@")