summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMeiyo Peng <meiyo.peng@gmail.com>2018-10-18 15:54:15 +0800
committer宋文武 <iyzsong@member.fsf.org>2018-10-26 18:54:16 +0800
commit0aab234954207bb8b285c0ebe68477cb3171508d (patch)
tree3d193534b9c05444fab50e2c3b9afa451425d729 /gnu/packages
parent21c51ebd66faa0b47f0be223d97c3a371346f54b (diff)
downloadguix-0aab234954207bb8b285c0ebe68477cb3171508d.tar.gz
gnu: Add qtermwidget.
* gnu/packages/lxqt.scm (qtermwidget): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/lxqt.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 7d26e39328..8f01744cc5 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -917,3 +917,30 @@ permissions of other users including root.")
     (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of
 LXDE.")
     (license license:lgpl2.1+)))
+
+(define-public qtermwidget
+  (package
+    (name "qtermwidget")
+    (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 "1c1qzbysxjbikp4bpgphphw4dgpl10gz8m06ccs2c48qxhpyd773"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("qtbase" ,qtbase)))
+    (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 "The terminal widget for QTerminal")
+    (description "QTermWidget is a terminal emulator widget for Qt 5.")
+    (license license:lgpl2.1+)))