diff options
author | Meiyo Peng <meiyo@riseup.net> | 2019-03-13 23:37:26 +0800 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2019-03-14 16:47:18 +0100 |
commit | 84dea9bb71bc42203d9a29214a4607cf72be2c31 (patch) | |
tree | 746d2b9be4591309cbf830fbc5ae758c2a358a95 | |
parent | 45ef5374a70ec5458207623efd93400c66d2271c (diff) | |
download | patches-84dea9bb71bc42203d9a29214a4607cf72be2c31.tar patches-84dea9bb71bc42203d9a29214a4607cf72be2c31.tar.gz |
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>
-rw-r--r-- | gnu/packages/lxqt.scm | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm index b606cfe556..667be24fc9 100644 --- a/gnu/packages/lxqt.scm +++ b/gnu/packages/lxqt.scm @@ -654,14 +654,14 @@ LXQt.") (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 @@ LXQt.") ("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 @@ LXQt.") (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") |