aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/lxqt.scm
diff options
context:
space:
mode:
authorMeiyo Peng <meiyo.peng@gmail.com>2018-10-18 14:56:23 +0800
committer宋文武 <iyzsong@member.fsf.org>2018-10-25 21:25:54 +0800
commit5663b5b073ba51fd0c477be65c39d812aa5c1ce5 (patch)
tree30e9f0c2bbf28afc570658868679f4571bfbf913 /gnu/packages/lxqt.scm
parent643961bbc6474e1824967786c35207c43407d497 (diff)
downloadgnu-guix-5663b5b073ba51fd0c477be65c39d812aa5c1ce5.tar
gnu-guix-5663b5b073ba51fd0c477be65c39d812aa5c1ce5.tar.gz
gnu: Add lxqt-qtplugin.
* gnu/packages/lxqt.scm (lxqt-qtplugin): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu/packages/lxqt.scm')
-rw-r--r--gnu/packages/lxqt.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 43c7caa98b..9e4e1dadfb 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -648,6 +648,44 @@ management events and optionally trigger actions like e. g. shut down a system
when laptop batteries are low on power.")
(license license:lgpl2.1+)))
+(define-public lxqt-qtplugin
+ (package
+ (name "lxqt-qtplugin")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
+ version "/" name "-" version ".tar.xz"))
+ (sha256
+ (base32 "0nnwbc99njpsyqb0cy3x0srcgwa7qrnq0qwcyx7fbvwsq1l8cz56"))))
+ (build-system cmake-build-system)
+ (inputs
+ `(("libdbusmenu-qt" ,libdbusmenu-qt)
+ ("libfm-qt" ,libfm-qt)
+ ("libqtxdg" ,libqtxdg)
+ ("qtbase" ,qtbase)
+ ("qtsvg" ,qtsvg)
+ ("qtx11extras" ,qtx11extras)))
+ (native-inputs
+ `(("lxqt-build-tools" ,lxqt-build-tools)
+ ("qttools" ,qttools)))
+ (arguments
+ '(#:tests? #f ; no tests
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-source
+ (lambda _
+ (substitute* '("src/CMakeLists.txt")
+ (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}")
+ "DESTINATION \"${CMAKE_INSTALL_PREFIX}/lib/qt5/plugins"))
+ #t)))))
+ (home-page "https://lxqt.org/")
+ (synopsis "LXQt Qt platform integration plugin")
+ (description "lxqt-qtplugin is providing a library libqtlxqt to integrate
+Qt with LXQt.")
+ (license license:lgpl2.1+)))
+
(define-public lxqt-runner
(package
(name "lxqt-runner")