From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eunW7-0005WD-6R for guix-patches@gnu.org; Sat, 10 Mar 2018 18:03:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eunW2-00039i-FV for guix-patches@gnu.org; Sat, 10 Mar 2018 18:03:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46664) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eunW2-00039e-BK for guix-patches@gnu.org; Sat, 10 Mar 2018 18:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eunW2-000188-35 for guix-patches@gnu.org; Sat, 10 Mar 2018 18:03:02 -0500 Subject: [bug#30766] [PATCH] gnu: Add flameshot. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eunVX-0005Rv-2w for guix-patches@gnu.org; Sat, 10 Mar 2018 18:02:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eunVS-00031p-9n for guix-patches@gnu.org; Sat, 10 Mar 2018 18:02:31 -0500 Received: from mail-lf0-x230.google.com ([2a00:1450:4010:c07::230]:42714) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eunVS-00031b-2P for guix-patches@gnu.org; Sat, 10 Mar 2018 18:02:26 -0500 Received: by mail-lf0-x230.google.com with SMTP id t204-v6so18026825lff.9 for ; Sat, 10 Mar 2018 15:02:25 -0800 (PST) From: Oleg Pykhalov Date: Sun, 11 Mar 2018 02:02:08 +0300 Message-Id: <20180310230208.22865-1-go.wigust@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30766@debbugs.gnu.org * gnu/packages/image.scm (flameshot): New public variable. --- gnu/packages/image.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index e3e3a3ccc..94105beb0 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -58,6 +58,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) + #:use-module (gnu packages qt) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) @@ -1250,3 +1251,45 @@ such as images. This metadata can include captions and keywords, often used by popular photo management applications. The library provides routines for parsing, viewing, modifying, and saving this metadata.") (license license:lgpl2.0+))) + +(define-public flameshot + (package + (name "flameshot") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lupoDharkael/flameshot/archive/" + "v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0kp451bqgssvg8n3sg60s3fifplm9l5kxiij0yxkl864p2mhw8im")))) + (build-system gnu-build-system) + (native-inputs + `(("qttools" ,qttools))) + (inputs + `(("qtbase" ,qtbase))) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (invoke "qmake" + "CONFIG+=packaging" + (string-append "BASEDIR=" (assoc-ref outputs "out")) + "PREFIX=/")))))) + (home-page "https://github.com/lupoDharkael/flameshot") + (synopsis "Powerful yet simple to use screenshot software") + (description "Flameshot is a screenshot software. +Features: + +@itemize +@item Customizable appearance. +@item Easy to use. +@item In-app screenshot edition. +@item DBus interface. +@item Upload to Imgur. +@end itemize\n") + (license license:gpl3+))) -- 2.16.2