unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 41997@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#41997] [PATCH] gnu: Add photoflare.
Date: Mon, 22 Jun 2020 00:19:13 -0300	[thread overview]
Message-ID: <20200622031913.26771-1-monego@posteo.net> (raw)

* gnu/packages/photo.scm (photoflare): New variable.
---
 gnu/packages/photo.scm | 45 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index 4904fa1db1..8f6d05f0f7 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -30,6 +30,7 @@
   #:use-module (guix build-system perl)
   #:use-module (guix build-system python)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix utils)
@@ -522,6 +523,50 @@ and enhance them.")
     (supported-systems '("i686-linux" "x86_64-linux" "aarch64-linux"))
     (license license:gpl3+)))
 
+(define-public photoflare
+  (package
+    (name "photoflare")
+    (version "1.6.5")
+    (source
+     (origin
+      (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/photoflare/photoflare")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0a394324h7ds567z3i3pw6kkii78n4qwdn129kgkkm996yh03q89"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+        (replace 'configure
+         (lambda* (#:key inputs outputs #:allow-other-keys)
+           (let ((magickpp (assoc-ref inputs "graphicsmagick"))
+                 (out (assoc-ref outputs "out")))
+             (invoke "qmake"
+                     (string-append "INCLUDEPATH += " magickpp
+                                    "/include/GraphicsMagick")
+                     (string-append "PREFIX=" out)
+                     "Photoflare.pro")))))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("qttools" ,qttools)))
+    (inputs
+     `(("graphicsmagick" ,graphicsmagick)
+       ("libomp" ,libomp)
+       ("qtbase" ,qtbase)))
+    (home-page "https://photoflare.io")
+    (synopsis "Quick, simple but powerful image editor")
+    (description "Photoflare is a cross-platform image editor with an aim
+to balance between powerful features and a very friendly graphical user
+interface.  It suits a wide variety of different tasks and users who value a
+more nimble workflow.  Features include basic image editing capabilities,
+paint brushes, image filters, colour adjustments and more advanced features
+such as Batch image processing.")
+    (license license:gpl3+)))
+
 (define-public hugin
   (package
     (name "hugin")
-- 
2.20.1





             reply	other threads:[~2020-06-22  3:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22  3:19 Vinicius Monego [this message]
2020-06-24 19:05 ` bug#41997: [PATCH] gnu: Add photoflare Marius Bakke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200622031913.26771-1-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=41997@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).