summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMeiyo Peng <meiyo.peng@gmail.com>2018-10-18 20:01:17 +0800
committer宋文武 <iyzsong@member.fsf.org>2018-10-26 21:31:15 +0800
commit7e9e775f440dd38315960b681e09224b5dd4bb5d (patch)
tree95607b6f7b7a83773691b2a4bb9ac661140f8b58 /gnu
parent4b88ab554c5f6ea71910265e9cd96129af138f1f (diff)
downloadguix-7e9e775f440dd38315960b681e09224b5dd4bb5d.tar.gz
gnu: Add qterminal.
* gnu/packages/lxqt.scm (qterminal): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lxqt.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index a5ffd0921d..2a0fde4fb7 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -993,6 +993,36 @@ image viewer.")
     (description "QTermWidget is a terminal emulator widget for Qt 5.")
     (license license:lgpl2.1+)))
 
+(define-public qterminal
+  (package
+    (name "qterminal")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
+                           version "/" name "-" version ".tar.xz"))
+       (sha256
+        (base32 "1vlza75br1ys62lgkdz26md729bfpbnasfzswp7hakmgaq1rhms1"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("qtbase" ,qtbase)
+       ("qtx11extras" ,qtx11extras)
+       ("qtermwidget" ,qtermwidget)))
+    (native-inputs
+     `(("lxqt-build-tools" ,lxqt-build-tools)
+       ("qttools" ,qttools)))
+    (arguments
+     '(#:tests? #f                      ; no tests
+       #:configure-flags
+       ;; TODO: prefetch translations files from 'lxqt-l10n'.
+       '("-DPULL_TRANSLATIONS=NO")))
+    (home-page "https://lxqt.org/")
+    (synopsis "Lightweight Qt-based terminal emulator")
+    (description "QTerminal is a lightweight Qt terminal emulator based on
+QTermWidget.")
+    (license license:lgpl2.1+)))
+
 (define-public screengrab
   (package
     (name "screengrab")