gnu: lxqt-session: Update to 0.13.0.

* gnu/packages/lxqt.scm (lxqt-session): Update to 0.13.0.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Meiyo Peng 2018-10-18 10:34:41 +08:00 committed by 宋文武
parent f0ac761f95
commit 70c488f8dd
No known key found for this signature in database
GPG Key ID: 26525665AE727D37
1 changed files with 25 additions and 24 deletions

View File

@ -29,8 +29,10 @@
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
#:use-module (gnu packages kde-frameworks) #:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages linux)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages polkit) #:use-module (gnu packages polkit)
#:use-module (gnu packages qt) #:use-module (gnu packages qt)
@ -116,43 +118,42 @@ components of the LXQt desktop environment.")
(define-public lxqt-session (define-public lxqt-session
(package (package
(name "lxqt-session") (name "lxqt-session")
(version "0.9.0") (version "0.13.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
(string-append "https://github.com/lxde/" name version "/" name "-" version ".tar.xz"))
"/archive/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z"))))
"1sdwcfrfqkg7ibrsncs1skdap9n8wm4rg6n9d0fgdz2q4d45h75a"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs `(("pkg-config" ,pkg-config)))
(inputs (inputs
`(("kwindowsystem" ,kwindowsystem) `(("eudev" ,eudev)
("kwindowsystem" ,kwindowsystem)
("liblxqt" ,liblxqt) ("liblxqt" ,liblxqt)
("libqtxdg" ,libqtxdg) ("libqtxdg" ,libqtxdg)
("qtbase" ,qtbase) ("qtbase" ,qtbase)
("qtsvg" ,qtsvg)
("qttools" ,qttools) ("qttools" ,qttools)
("qtx11extras" ,qtx11extras))) ("qtx11extras" ,qtx11extras)
("xdg-user-dirs" ,xdg-user-dirs)))
(native-inputs
`(("pkg-config" ,pkg-config)
("lxqt-build-tools" ,lxqt-build-tools)))
(arguments (arguments
`(#:tests? #f ; no check target `(#:tests? #f
#:configure-flags
`("-DPULL_TRANSLATIONS=NO")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'fix-installation-paths (add-after 'unpack 'patch-source
(lambda _ (lambda _
;; The variable LXQT_TRANSLATIONS_DIR is set in (substitute* '("autostart/CMakeLists.txt"
;; liblxqt-0.9.0/share/cmake/lxqt/lxqt-config.cmake "config/CMakeLists.txt")
;; to the liblxqt installation directory, followed by (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
;; "/share/lxqt/translations". "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
;; We need to have it point to the current installation #t)))))
;; directory instead. (home-page "https://lxqt.org/")
(substitute* '("lxqt-session/CMakeLists.txt"
"lxqt-config-session/CMakeLists.txt")
(("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
"${CMAKE_INSTALL_PREFIX}/share/lxqt/translations")))))))
(home-page "http://lxqt.org/")
(synopsis "Session manager for LXQt") (synopsis "Session manager for LXQt")
(description "lxqt-session provides the standard session manager (description "lxqt-session provides the standard session manager
for the LXQt desktop environment.") for the LXQt desktop environment.")