all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#30766] [PATCH] gnu: Add flameshot.
@ 2018-03-10 23:02 Oleg Pykhalov
  2018-03-12 14:43 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Pykhalov @ 2018-03-10 23:02 UTC (permalink / raw)
  To: 30766

* 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#30766] [PATCH] gnu: Add flameshot.
  2018-03-10 23:02 [bug#30766] [PATCH] gnu: Add flameshot Oleg Pykhalov
@ 2018-03-12 14:43 ` Ludovic Courtès
  2018-03-13 13:03   ` bug#30766: " Oleg Pykhalov
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2018-03-12 14:43 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 30766

Oleg Pykhalov <go.wigust@gmail.com> skribis:

> * gnu/packages/image.scm (flameshot): New public variable.

[...]

> +    (description "Flameshot is a screenshot software.
                                               ^
“a screenshot program”

Otherwise LGTM, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#30766: [PATCH] gnu: Add flameshot.
  2018-03-12 14:43 ` Ludovic Courtès
@ 2018-03-13 13:03   ` Oleg Pykhalov
  0 siblings, 0 replies; 3+ messages in thread
From: Oleg Pykhalov @ 2018-03-13 13:03 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 30766-done, 30766

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

ludo@gnu.org (Ludovic Courtès) writes:

> Oleg Pykhalov <go.wigust@gmail.com> skribis:
>
>> * gnu/packages/image.scm (flameshot): New public variable.
>
> [...]
>
>> +    (description "Flameshot is a screenshot software.
>                                                ^
> “a screenshot program”

OK.

> Otherwise LGTM, thanks!

Also I commented that there are no tests.

Pushed as 8456765772cb48a428a15719e32ab49c9d4d7a53

I'll close the bug report.

Thanks,
Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-13 13:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-10 23:02 [bug#30766] [PATCH] gnu: Add flameshot Oleg Pykhalov
2018-03-12 14:43 ` Ludovic Courtès
2018-03-13 13:03   ` bug#30766: " Oleg Pykhalov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.