gnu: Add screengrab.
authorMeiyo Peng <meiyo.peng@gmail.com>
Thu, 18 Oct 2018 11:48:09 +0000 (19:48 +0800)
committer宋文武 <iyzsong@member.fsf.org>
Fri, 26 Oct 2018 13:20:21 +0000 (21:20 +0800)
* gnu/packages/lxqt.scm (screengrab): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
gnu/packages/lxqt.scm

index 27d4c01..a5ffd09 100644 (file)
@@ -992,3 +992,32 @@ image viewer.")
     (synopsis "The terminal widget for QTerminal")
     (description "QTermWidget is a terminal emulator widget for Qt 5.")
     (license license:lgpl2.1+)))
+
+(define-public screengrab
+  (package
+    (name "screengrab")
+    (version "1.99")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
+                           version "/" name "-" version ".tar.xz"))
+       (sha256
+        (base32 "17y8rsx9fixvxv2byq8d6c01vry10nv07f8jy85vz7zp4f0rgzz3"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("kwindowsystem" ,kwindowsystem)
+       ("libqtxdg" ,libqtxdg)
+       ("qtbase" ,qtbase)
+       ("qtsvg" ,qtsvg)
+       ("qtx11extras" ,qtx11extras)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("qttools" ,qttools)))
+    (arguments
+     '(#:tests? #f))                    ; no tests
+    (home-page "https://lxqt.org/")
+    (synopsis "Crossplatform tool for fast making screenshots")
+    (description "ScreenGrab is a program for fast creating screenshots, and
+easily publishing them on internet image hosting services.")
+    (license license:lgpl2.1+)))