gnu: Add lxqt-common.
* gnu/packages/lxqt.scm (lxqt-common): New variable.
This commit is contained in:
parent
c9f6938033
commit
cfa2e4ad40
|
@ -81,3 +81,55 @@ in Qt.")
|
||||||
(description "liblxqt provides the basic libraries shared by the
|
(description "liblxqt provides the basic libraries shared by the
|
||||||
components of the LxQt desktop environment.")
|
components of the LxQt desktop environment.")
|
||||||
(license lgpl2.1+)))
|
(license lgpl2.1+)))
|
||||||
|
|
||||||
|
|
||||||
|
(define-public lxqt-common
|
||||||
|
(package
|
||||||
|
(name "lxqt-common")
|
||||||
|
(version "0.9.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri
|
||||||
|
(string-append "http://downloads.lxqt.org/lxqt/" version "/"
|
||||||
|
name "-" version ".tar.xz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0kbkwmrdjhfbq60wf2yfbsjmci8xlw13ilxxa7yxq68n1aqjqmvf"))))
|
||||||
|
(build-system cmake-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; no check target
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'fix-installation-paths
|
||||||
|
(lambda _
|
||||||
|
;; The variable LXQT_ETC_XDG_DIR is set in
|
||||||
|
;; liblxqt-0.9.0/share/cmake/lxqt/lxqt-config.cmake
|
||||||
|
;; to the Qt5 installation directory, followed by "/etc/xdg".
|
||||||
|
;; We need to have it point to the current installation
|
||||||
|
;; directory instead.
|
||||||
|
(substitute* '("config/CMakeLists.txt"
|
||||||
|
"menu/CMakeLists.txt")
|
||||||
|
(("\\$\\{LXQT_ETC_XDG_DIR\\}")
|
||||||
|
"${CMAKE_INSTALL_PREFIX}/etc/xdg")
|
||||||
|
;; In the same file, LXQT_SHARE_DIR is set to the installation
|
||||||
|
;; directory of liblxqt, followed by "/share/lxqt".
|
||||||
|
(("\\$\\{LXQT_SHARE_DIR\\}")
|
||||||
|
"${CMAKE_INSTALL_PREFIX}/share/lxqt"))
|
||||||
|
;; Replace absolute directories.
|
||||||
|
(substitute* "autostart/CMakeLists.txt"
|
||||||
|
(("/etc/xdg")
|
||||||
|
"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
|
||||||
|
(substitute* "xsession/CMakeLists.txt"
|
||||||
|
(("/usr/share")
|
||||||
|
"${CMAKE_INSTALL_PREFIX}/share")))))))
|
||||||
|
(inputs
|
||||||
|
`(("kwindowsystem" ,kwindowsystem)
|
||||||
|
("liblxqt" ,liblxqt)
|
||||||
|
("libqtxdg" ,libqtxdg)))
|
||||||
|
(home-page "http://lxqt.org/")
|
||||||
|
(synopsis "Common files for LXQt")
|
||||||
|
(description "lxqt-common provides the desktop integration files
|
||||||
|
(themes, icons, configuration files etc.) for the LXQt
|
||||||
|
desktop environment.")
|
||||||
|
(license lgpl2.1+)))
|
||||||
|
|
Loading…
Reference in New Issue