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>master
parent
45ef5374a7
commit
84dea9bb71
|
@ -654,14 +654,14 @@ LXQt.")
|
||||||
(define-public lxqt-powermanagement
|
(define-public lxqt-powermanagement
|
||||||
(package
|
(package
|
||||||
(name "lxqt-powermanagement")
|
(name "lxqt-powermanagement")
|
||||||
(version "0.13.0")
|
(version "0.14.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://github.com/lxqt/" name "/releases/download/"
|
(uri (string-append "https://github.com/lxqt/" name "/releases/download/"
|
||||||
version "/" name "-" version ".tar.xz"))
|
version "/" name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "15nvdypyjwnp7k3d2pkhdbmaqb3ccacmh95rbdbc5mr7yrjy9613"))))
|
(base32 "06bvgbkbl9p9n8ba5cfsynqgmpb5c8yfnsvp7zqhflj8k9p9msip"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("kidletime" ,kidletime)
|
`(("kidletime" ,kidletime)
|
||||||
|
@ -677,9 +677,6 @@ LXQt.")
|
||||||
("qttools" ,qttools)))
|
("qttools" ,qttools)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ; no tests
|
'(#:tests? #f ; no tests
|
||||||
#:configure-flags
|
|
||||||
;; TODO: prefetch translations files from 'lxqt-l10n'.
|
|
||||||
'("-DPULL_TRANSLATIONS=NO")
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-source
|
(add-after 'unpack 'patch-source
|
||||||
|
@ -687,6 +684,14 @@ LXQt.")
|
||||||
(substitute* '("autostart/CMakeLists.txt")
|
(substitute* '("autostart/CMakeLists.txt")
|
||||||
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
|
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
|
||||||
"DESTINATION \"etc/xdg"))
|
"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)))))
|
#t)))))
|
||||||
(home-page "https://lxqt.org/")
|
(home-page "https://lxqt.org/")
|
||||||
(synopsis "Power management module for LXQt")
|
(synopsis "Power management module for LXQt")
|
||||||
|
|
Reference in New Issue