mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: lxqt-powermanagement: Update to 0.14.1.
* gnu/packages/lxqt.scm (lxqt-powermanagement): Update to 0.14.1. [arguments]: Remove #:configure-flags. <#:phases>[patch-translations-dir]: New phase. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
parent
45ef5374a7
commit
84dea9bb71
1 changed files with 10 additions and 5 deletions
|
@ -654,14 +654,14 @@ (define-public lxqt-policykit
|
|||
(define-public lxqt-powermanagement
|
||||
(package
|
||||
(name "lxqt-powermanagement")
|
||||
(version "0.13.0")
|
||||
(version "0.14.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/lxqt/" name "/releases/download/"
|
||||
version "/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32 "15nvdypyjwnp7k3d2pkhdbmaqb3ccacmh95rbdbc5mr7yrjy9613"))))
|
||||
(base32 "06bvgbkbl9p9n8ba5cfsynqgmpb5c8yfnsvp7zqhflj8k9p9msip"))))
|
||||
(build-system cmake-build-system)
|
||||
(inputs
|
||||
`(("kidletime" ,kidletime)
|
||||
|
@ -677,9 +677,6 @@ (define-public lxqt-powermanagement
|
|||
("qttools" ,qttools)))
|
||||
(arguments
|
||||
'(#:tests? #f ; no tests
|
||||
#:configure-flags
|
||||
;; TODO: prefetch translations files from 'lxqt-l10n'.
|
||||
'("-DPULL_TRANSLATIONS=NO")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-source
|
||||
|
@ -687,6 +684,14 @@ (define-public lxqt-powermanagement
|
|||
(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)))))
|
||||
(home-page "https://lxqt.org/")
|
||||
(synopsis "Power management module for LXQt")
|
||||
|
|
Loading…
Reference in a new issue