gnu: lxqt-powermanagement: Update to 1.1.0.

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

View file

@ -598,14 +598,14 @@ (define-public lxqt-policykit
(define-public lxqt-powermanagement
(package
(name "lxqt-powermanagement")
(version "0.17.1")
(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 "00njx8a8cs0zzpz798qc9j16k7i4y0ydy1xmmcq9yv0wawh4gqck"))))
(base32 "0zy6abbf3iwrxsr18gbxidb4m5spsigpa2778xg7y9r7fwgmqqkk"))))
(build-system cmake-build-system)
(inputs
(list kidletime
@ -619,24 +619,7 @@ (define-public lxqt-powermanagement
solid))
(native-inputs
(list lxqt-build-tools qttools-5))
(arguments
'(#:tests? #f ; no tests
#: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* '("config/CMakeLists.txt"
"src/CMakeLists.txt")
(("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
(string-append (assoc-ref outputs "out")
"/share/lxqt/translations")))
#t)))))
(arguments '(#:tests? #f)) ; no tests
(home-page "https://lxqt-project.org")
(synopsis "Power management module for LXQt")
(description "lxqt-powermanagement is providing tools to monitor power