guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/09: gnu: Add lxqt-qtplugin.


From: ???
Subject: 07/09: gnu: Add lxqt-qtplugin.
Date: Thu, 25 Oct 2018 09:46:53 -0400 (EDT)

iyzsong pushed a commit to branch master
in repository guix.

commit 5663b5b073ba51fd0c477be65c39d812aa5c1ce5
Author: Meiyo Peng <address@hidden>
Date:   Thu Oct 18 14:56:23 2018 +0800

    gnu: Add lxqt-qtplugin.
    
    * gnu/packages/lxqt.scm (lxqt-qtplugin): New variable.
    
    Signed-off-by: 宋文武 <address@hidden>
---
 gnu/packages/lxqt.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 43c7caa..9e4e1da 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]