mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add lxqt-session.
* gnu/packages/lxqt.scm (lxqt-session): New variable.
This commit is contained in:
parent
cfa2e4ad40
commit
54033a4db6
1 changed files with 42 additions and 0 deletions
|
@ -133,3 +133,45 @@ (define-public lxqt-common
|
|||
(themes, icons, configuration files etc.) for the LXQt
|
||||
desktop environment.")
|
||||
(license lgpl2.1+)))
|
||||
|
||||
(define-public lxqt-session
|
||||
(package
|
||||
(name "lxqt-session")
|
||||
(version "0.9.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
(string-append "http://downloads.lxqt.org/lxqt/" version "/"
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"01hxand1gqbcaw14lh7z6w5zssgfaffcjncv752c2c7272wzyhy5"))))
|
||||
(build-system cmake-build-system)
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("kwindowsystem" ,kwindowsystem)
|
||||
("liblxqt" ,liblxqt)
|
||||
("libqtxdg" ,libqtxdg)))
|
||||
(arguments
|
||||
`(#:tests? #f ; no check target
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'fix-installation-paths
|
||||
(lambda _
|
||||
;; The variable LXQT_TRANSLATIONS_DIR is set in
|
||||
;; liblxqt-0.9.0/share/cmake/lxqt/lxqt-config.cmake
|
||||
;; to the liblxqt installation directory, followed by
|
||||
;; "/share/lxqt/translations".
|
||||
;; We need to have it point to the current installation
|
||||
;; directory instead.
|
||||
(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")
|
||||
(description "lxqt-session provides the standard session manager
|
||||
for the LXQt desktop environment.")
|
||||
(license lgpl2.1+)))
|
||||
|
|
Loading…
Reference in a new issue