Archived
1
0
Fork 0

gnu: lxqt-session: Update to 0.14.1.

* gnu/packages/lxqt.scm (lxqt-session): 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:
Meiyo Peng 2019-03-13 23:37:29 +08:00 committed by Danny Milosavljevic
parent 1b8daca27b
commit 536afd9bf2
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -790,14 +790,14 @@ allows for launching applications or shutting down the system.")
(define-public lxqt-session (define-public lxqt-session
(package (package
(name "lxqt-session") (name "lxqt-session")
(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 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z")))) (base32 "11i2vimv3336dvvxb6y5csdybwjncr7cq3kwlj52vkpisnxslvgy"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
`(("eudev" ,eudev) `(("eudev" ,eudev)
@ -814,8 +814,6 @@ allows for launching applications or shutting down the system.")
("qttools" ,qttools))) ("qttools" ,qttools)))
(arguments (arguments
`(#:tests? #f `(#:tests? #f
#:configure-flags
`("-DPULL_TRANSLATIONS=NO")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-source (add-after 'unpack 'patch-source
@ -824,6 +822,15 @@ allows for launching applications or shutting down the system.")
"config/CMakeLists.txt") "config/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* '("lxqt-config-session/CMakeLists.txt"
"lxqt-leave/CMakeLists.txt"
"lxqt-session/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 "Session manager for LXQt") (synopsis "Session manager for LXQt")