gnu: lxqt-policykit: Update to 1.1.0.

* gnu/packages/lxqt.scm (lxqt-policykit): Update to 1.1.0.
[arguments]: Remove phases.
This commit is contained in:
宋文武 2022-08-17 10:33:17 +08:00
parent bc89baeffe
commit 0dc25538be
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -568,14 +568,14 @@ (define-public lxqt-panel
(define-public lxqt-policykit
(package
(name "lxqt-policykit")
(version "0.17.0")
(version "1.1.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/lxqt/" name "/releases/download/"
version "/" name "-" version ".tar.xz"))
(sha256
(base32 "119bjhx208g7wxmr8r0ajb3wl6vagq1aks6zz07df4bgjs3nnpli"))))
(base32 "150ggcfprascnwgsz721vnmay9cbar9annlhp6h2yzkl69iyc49r"))))
(build-system cmake-build-system)
(inputs
(list kwindowsystem
@ -588,23 +588,7 @@ (define-public lxqt-policykit
qtx11extras))
(native-inputs
(list pkg-config polkit lxqt-build-tools qttools-5))
(arguments
'(#:tests? #f ; no test target
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-source
(lambda _
(substitute* '("autostart/CMakeLists.txt")
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
"DESTINATION \"etc/xdg"))
#t))
(add-after 'unpack 'patch-translations-dir
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "CMakeLists.txt"
(("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
(string-append (assoc-ref outputs "out")
"/share/lxqt/translations")))
#t)))))
(arguments '(#:tests? #f)) ; no test target
(home-page "https://lxqt-project.org")
(synopsis "The LXQt PolicyKit agent")
(description "lxqt-policykit is the polkit authentication agent of