gnu: kimageannotator: Build with qt6.

* gnu/packages/kde-frameworks.scm (kimageannotator): Update to 0.7.1.
[inputs]: Remove qtsvg-5; add qtsvg.
[native-inputs]: Remove qttools-5; add qttools.
[arguments]: Set #:qtbase to qtbase;
<#:configure-flags>: Pass -DBUILD_WITH_QT6=ON.

Change-Id: Iff516b00220a08395c477474db250e260435b5e6
This commit is contained in:
Zheng Junjie 2024-07-07 00:01:13 +08:00
parent 1befa553dd
commit cb27fd498d
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -1904,8 +1904,10 @@ (define-public kimageannotator
"1f1y4r5rb971v2g34fgjbr14g0mdms5h66yl5k0p1zf50kr2wnic"))))
(build-system qt-build-system)
(arguments
(list #:configure-flags #~'("-DBUILD_SHARED_LIBS=ON"
"-DBUILD_TESTS=ON")
(list #:qtbase qtbase
#:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"
"-DBUILD_TESTS=ON"
"-DBUILD_WITH_QT6=ON")
#:phases
#~(modify-phases %standard-phases
(replace 'check
@ -1916,9 +1918,9 @@ (define-public kimageannotator
(setenv "DISPLAY" ":1")
(invoke "ctest" "--test-dir" "tests"))))))
(native-inputs
(list qttools-5 xorg-server-for-tests))
(list qttools xorg-server-for-tests))
(inputs
(list googletest qtsvg-5 kcolorpicker))
(list googletest qtsvg kcolorpicker))
(home-page "https://github.com/ksnip/kImageAnnotator")
(synopsis "Image annotating library")
(description "This library provides tools to annotate images.")