z572 pushed a commit to branch kde-team
in repository guix.
commit 80e805a92c0fb6c4e5876e2aaaf79c6ff06e0d0a
Author: Zheng Junjie <[email protected]>
AuthorDate: Fri Mar 8 23:15:40 2024 +0800
gnu: Add kauth-6.
* gnu/packages/kde-frameworks.scm (kauth-6): New variable.
(kauth): Inherit above.
Change-Id: I145f0aef7fa115b71084b8f295f67d9ccdfe55cb
---
gnu/packages/kde-frameworks.scm | 36 ++++++++++++++++++++++++++++++------
1 file changed, 30 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index b0d64f80f0..1746bde0d8 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2218,10 +2218,10 @@ with other frameworks.")
;; triple licensed
(license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+))))
-(define-public kauth
+(define-public kauth-6
(package
(name "kauth")
- (version "5.114.0")
+ (version "6.1.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -2230,12 +2230,13 @@ with other frameworks.")
name "-" version ".tar.xz"))
(sha256
(base32
- "1rkf9mc9718wn8pzd3d3wcg3lsn0vkr9a2cqnz86rbg3cf2qdbir"))))
+ "12zhjawv4z5b36kgbahz0hlb06wr772vcw5kkb69hl4041081rs7"))))
(build-system cmake-build-system)
(native-inputs
- (list dbus extra-cmake-modules qttools-5))
+ (list dbus extra-cmake-modules qttools))
+ (propagated-inputs (list kcoreaddons-6))
(inputs
- (list kcoreaddons polkit-qt qtbase-5))
+ (list kwindowsystem-6 polkit-qt6 qtbase))
(arguments
(list
#:phases
@@ -2244,7 +2245,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@")
@@ -2263,6 +2266,27 @@ actions that need to be performed as a privileged user
to small set of helper
utilities.")
(license license:lgpl2.1+)))
+(define-public kauth
+ (package
+ (inherit kauth-6)
+ (name "kauth")
+ (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
+ "1rkf9mc9718wn8pzd3d3wcg3lsn0vkr9a2cqnz86rbg3cf2qdbir"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ (list dbus extra-cmake-modules qttools-5))
+ (inputs
+ (list kcoreaddons polkit-qt qtbase-5))
+ (propagated-inputs '())))
+
(define-public kcompletion-6
(package
(name "kcompletion")