mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: flameshot: Update to commit 560190199.
* gnu/packages/image.scm (flameshot): Update to commit 560190199, build with qt6. Change-Id: I71af0752360ecaf1d1b099b1635e2a338aef1e2a Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
aa9c00a9e0
commit
a2cbff5a7a
1 changed files with 46 additions and 24 deletions
|
@ -2161,29 +2161,51 @@ parsing, viewing, modifying, and saving this metadata.")
|
||||||
(license license:lgpl2.0+)))
|
(license license:lgpl2.0+)))
|
||||||
|
|
||||||
(define-public flameshot
|
(define-public flameshot
|
||||||
(package
|
;; Upstream switched to nightly builds, no release tags anymore.
|
||||||
(name "flameshot")
|
(let ((commit "56019019999defbf722f43f87aaeae6596a12c0a")
|
||||||
(version "12.1.0")
|
(revision "1"))
|
||||||
(source
|
(package
|
||||||
(origin
|
(name "flameshot")
|
||||||
(method git-fetch)
|
(version (git-version "12.1.0" revision commit))
|
||||||
(uri (git-reference
|
(source
|
||||||
(url "https://github.com/flameshot-org/flameshot")
|
(origin
|
||||||
(commit (string-append "v" version))))
|
(method git-fetch)
|
||||||
(file-name (git-file-name name version))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/flameshot-org/flameshot")
|
||||||
(base32
|
(commit (string-append commit))))
|
||||||
"1p7gqs5vqzbddlgl38lbanchwb14m6lx8f2cn2c5p0vyqwvqqv52"))))
|
(file-name (git-file-name name version))
|
||||||
(build-system qt-build-system)
|
(sha256
|
||||||
(native-inputs
|
(base32
|
||||||
(list qttools-5))
|
"11y1x2pc0sdmz4dbrdl9d2i96sxi3v7bfjgcaqy2sc29zjjvynqx"))))
|
||||||
(inputs
|
(build-system qt-build-system)
|
||||||
(list qtbase-5 qtsvg-5))
|
(arguments
|
||||||
(arguments
|
(list
|
||||||
`(#:tests? #f)) ;no tests
|
#:qtbase qtbase
|
||||||
(home-page "https://github.com/flameshot-org/flameshot")
|
#:tests? #f ;no tests
|
||||||
(synopsis "Powerful yet simple to use screenshot software")
|
#:configure-flags
|
||||||
(description "Flameshot is a screenshot program.
|
#~(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.
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
@itemize
|
@itemize
|
||||||
|
@ -2193,7 +2215,7 @@ Features:
|
||||||
@item DBus interface.
|
@item DBus interface.
|
||||||
@item Upload to Imgur.
|
@item Upload to Imgur.
|
||||||
@end itemize\n")
|
@end itemize\n")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public swappy
|
(define-public swappy
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue