summaryrefslogtreecommitdiff
path: root/gnu/packages/image.scm
diff options
context:
space:
mode:
authorSergey Trofimov <sarg@sarg.org.ru>2025-11-14 21:46:33 +0100
committerAndreas Enge <andreas@enge.fr>2025-11-18 18:03:49 +0100
commit46a77dec2f9074b6ad2834959fb1c10b0a361f01 (patch)
treec54f21566e72dc8875567d2d587aaad9732dd737 /gnu/packages/image.scm
parentaa00140dcb1944751c04c735e734508835807b39 (diff)
gnu: flameshot: Update to 13.3.0.
* gnu/packages/image.scm (flameshot): Update to 13.3.0. [inputs]: Replace single-application with kdsingleapplication. [arguments]<#:phases>: Remove obsolete patching phase. <:configure-flags>: Add USE_BUNDLED_KDSINGLEAPPLICATION. Change-Id: Icb677935b44c4d04e7d2605cb00ce66100dd98a1 Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/image.scm')
-rw-r--r--gnu/packages/image.scm74
1 files changed, 28 insertions, 46 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 06aba188f29..a00e68cb476 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -2273,51 +2273,33 @@ parsing, viewing, modifying, and saving this metadata.")
(license license:lgpl2.0+)))
(define-public flameshot
- ;; Upstream switched to nightly builds, no release tags anymore.
- (let ((commit "56019019999defbf722f43f87aaeae6596a12c0a")
- (revision "1"))
- (package
- (name "flameshot")
- (version (git-version "12.1.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/flameshot-org/flameshot")
- (commit (string-append commit))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "11y1x2pc0sdmz4dbrdl9d2i96sxi3v7bfjgcaqy2sc29zjjvynqx"))))
- (build-system qt-build-system)
- (arguments
- (list
- #:qtbase qtbase
- #:tests? #f ;no tests
- #:configure-flags
- #~(list "-DFETCHCONTENT_FULLY_DISCONNECTED=ON"
- "-DDISABLE_UPDATE_CHECKER=ON")
- #:phases
- #~ (modify-phases %standard-phases
- (add-before 'configure 'add-singleapplication
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((dep (assoc-ref inputs "single-application")))
- (substitute* "CMakeLists.txt"
- (("^if\\(USE_SINGLEAPPLICATION\\)" all)
- (string-append
- all
- "\nadd_library(SingleApplication::SingleApplication"
- " SHARED IMPORTED)"
- "\nset_target_properties(SingleApplication::SingleApplication"
- " PROPERTIES"
- "\n INTERFACE_INCLUDE_DIRECTORIES \"" dep "/include\""
- "\n IMPORTED_LOCATION " dep "/lib/libSingleApplication.a"
- "\n)\n")))))))))
- (native-inputs (list qttools))
- (inputs (list single-application qtcolorwidgets qtsvg))
- (home-page "https://github.com/flameshot-org/flameshot")
- (synopsis "Powerful yet simple to use screenshot software")
- (description "Flameshot is a screenshot program.
+ (package
+ (name "flameshot")
+ (version "13.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/flameshot-org/flameshot")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1v9xsivq9wnj7x1gr877a40xi6j672h9j82c5nkih9b64jg0naj7"))))
+ (build-system qt-build-system)
+ (arguments
+ (list
+ #:qtbase qtbase
+ #:tests? #f ;no tests
+ #:configure-flags
+ #~(list "-DFETCHCONTENT_FULLY_DISCONNECTED=ON"
+ "-DUSE_BUNDLED_KDSINGLEAPPLICATION=OFF"
+ "-DDISABLE_UPDATE_CHECKER=ON")))
+ (native-inputs (list qttools))
+ (inputs (list kdsingleapplication qtcolorwidgets qtsvg))
+ (home-page "https://github.com/flameshot-org/flameshot")
+ (synopsis "Powerful yet simple to use screenshot software")
+ (description "Flameshot is a screenshot program.
Features:
@itemize
@@ -2327,7 +2309,7 @@ Features:
@item DBus interface.
@item Upload to Imgur.
@end itemize\n")
- (license license:gpl3+))))
+ (license license:gpl3+)))
(define-public swappy
(package