summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMeiyo Peng <meiyo.peng@gmail.com>2018-10-18 19:33:15 +0800
committer宋文武 <iyzsong@member.fsf.org>2018-10-26 21:12:17 +0800
commit604bdae7e502923ecb1b78700912767beaec48d2 (patch)
tree9a2e12bbff80a33651e944615c46efaf63c1e335 /gnu
parent26127ebb97d48d8cddc2e287f9b9a063e8599dc1 (diff)
downloadguix-604bdae7e502923ecb1b78700912767beaec48d2.tar.gz
gnu: Add lximage-qt.
* gnu/packages/lxqt.scm (lximage-qt): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lxqt.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 4528444ca3..27d4c01e5e 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -900,6 +900,39 @@ LXDE.")
 
 ;; Extra
 
+(define-public lximage-qt
+  (package
+    (name "lximage-qt")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
+                           version "/" name "-" version ".tar.xz"))
+       (sha256
+        (base32 "1mwjh6lrjayr9snsmabkl5qs4xm6d27mfz8k3jxfm5dk3pjj1b0w"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("libexif" ,libexif)
+       ("libfm-qt" ,libfm-qt)
+       ("qtbase" ,qtbase)
+       ("qtsvg" ,qtsvg)
+       ("qtx11extras" ,qtx11extras)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("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 image viewer and screenshot tool for lxqt")
+    (description "LXImage-Qt is the Qt port of LXImage, a simple and fast
+image viewer.")
+    (license license:lgpl2.1+)))
+
 (define-public pavucontrol-qt
   (package
     (name "pavucontrol-qt")