mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-10 05:09:33 -05:00
gnu: Add kimageannotator.
* gnu/packages/kde-frameworks.scm (kimageannotator): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
89a5785acd
commit
cd5ebae25e
1 changed files with 38 additions and 0 deletions
|
@ -50,6 +50,7 @@ (define-module (gnu packages kde-frameworks)
|
||||||
#:use-module (gnu packages bison)
|
#:use-module (gnu packages bison)
|
||||||
#:use-module (gnu packages boost)
|
#:use-module (gnu packages boost)
|
||||||
#:use-module (gnu packages calendar)
|
#:use-module (gnu packages calendar)
|
||||||
|
#:use-module (gnu packages check)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages databases)
|
#:use-module (gnu packages databases)
|
||||||
#:use-module (gnu packages docbook)
|
#:use-module (gnu packages docbook)
|
||||||
|
@ -1842,6 +1843,43 @@ (define-public kfilemetadata
|
||||||
by applications to write metadata.")
|
by applications to write metadata.")
|
||||||
(license (list license:lgpl2.0 license:lgpl2.1 license:lgpl3))))
|
(license (list license:lgpl2.0 license:lgpl2.1 license:lgpl3))))
|
||||||
|
|
||||||
|
(define-public kimageannotator
|
||||||
|
(package
|
||||||
|
(name "kimageannotator")
|
||||||
|
(version "0.6.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/ksnip/kImageAnnotator")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1gm85d1cnhf51ssj0gs2253fifl48r05d3q5s93jwk3jkq01inll"))))
|
||||||
|
(build-system qt-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:configure-flags #~'("-DBUILD_TESTS=ON")
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
;; 1 test requires a running X server, it calls
|
||||||
|
;; 'XCloseDisplay'.
|
||||||
|
(system "Xvfb :1 -screen 0 640x480x24 &")
|
||||||
|
(setenv "DISPLAY" ":1")
|
||||||
|
(invoke "ctest" "--test-dir" "tests"))))))
|
||||||
|
(native-inputs
|
||||||
|
(list qttools-5 xorg-server-for-tests))
|
||||||
|
(inputs
|
||||||
|
(list googletest qtsvg-5 kcolorpicker))
|
||||||
|
(propagated-inputs
|
||||||
|
(list qtbase-5))
|
||||||
|
(home-page "https://github.com/ksnip/kImageAnnotator")
|
||||||
|
(synopsis "Image annotating library")
|
||||||
|
(description "This library provides tools to annotate images.")
|
||||||
|
(license license:lgpl3+)))
|
||||||
|
|
||||||
(define-public kimageformats
|
(define-public kimageformats
|
||||||
(package
|
(package
|
||||||
(name "kimageformats")
|
(name "kimageformats")
|
||||||
|
|
Loading…
Reference in a new issue