From cb27fd498dd701de66aca828d44c710181cad820 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Sun, 7 Jul 2024 00:01:13 +0800 Subject: [PATCH] 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 --- gnu/packages/kde-frameworks.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index cb9fc86595..69c39ec2b0 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -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.")