From 17dddd4a76ff5508b5a99193be116fdff76235f3 Mon Sep 17 00:00:00 2001 From: rsadowski Date: Mon, 20 May 2024 06:37:03 +0000 Subject: [PATCH] Update kimageannotator to 0.7.1 (Qt6) --- graphics/kimageannotator/Makefile | 19 ++++++++++--------- graphics/kimageannotator/distinfo | 4 ++-- graphics/kimageannotator/pkg/PLIST | 19 +++++++++++-------- 3 files changed, 23 insertions(+), 19 deletions(-) diff --git a/graphics/kimageannotator/Makefile b/graphics/kimageannotator/Makefile index 4f930fcb835..4ea8d8069fe 100644 --- a/graphics/kimageannotator/Makefile +++ b/graphics/kimageannotator/Makefile @@ -1,30 +1,31 @@ COMMENT = tool for annotating images -V = 0.6.0 +V = 0.7.1 PKGNAME = kimageannotator-${V} -REVISION = 0 GH_ACCOUNT = ksnip GH_PROJECT = kImageAnnotator GH_TAGNAME = v${V} -SHARED_LIBS = kImageAnnotator 2.0 # 0.4.1 +SHARED_LIBS += kImageAnnotator 3.0 # 0.0 CATEGORIES = graphics # LGPLv3 PERMIT_PACKAGE = Yes -WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Svg Qt5Widgets X11 m -WANTLIB += kColorPicker +WANTLIB += ${COMPILER_LIBCXX} GL Qt6Core Qt6Gui Qt6Svg Qt6Widgets +WANTLIB += X11 kColorPicker m MODULES = devel/cmake \ - x11/qt5 + x11/qt6 -LIB_DEPENDS = graphics/kcolorpicker>=0.2.0 \ - x11/qt5/qtsvg +LIB_DEPENDS = graphics/kcolorpicker>=0.3 \ + x11/qt6/qtsvg + +CONFIGURE_ARGS += -DBUILD_SHARED_LIBS=ON \ + -DBUILD_WITH_QT6=ON -CONFIGURE_ARGS += -DBUILD_SHARED_LIBS=Yes CONFIGURE_ENV += LDFLAGS="-L${X11BASE}/lib" .include diff --git a/graphics/kimageannotator/distinfo b/graphics/kimageannotator/distinfo index 84cda3b9ff9..3441cecd6e0 100644 --- a/graphics/kimageannotator/distinfo +++ b/graphics/kimageannotator/distinfo @@ -1,2 +1,2 @@ -SHA256 (kImageAnnotator-0.6.0.tar.gz) = FI73A+1VNaDCPRFim1iNnLFjWYeYJhqnYNWzUXVmRqc= -SIZE (kImageAnnotator-0.6.0.tar.gz) = 257662 +SHA256 (kImageAnnotator-0.7.1.tar.gz) = IzXFvhWl3eNMMzPBCmM52hFOIjLkxGQt6heT5JHglnc= +SIZE (kImageAnnotator-0.7.1.tar.gz) = 266861 diff --git a/graphics/kimageannotator/pkg/PLIST b/graphics/kimageannotator/pkg/PLIST index 89b92f92a7a..918047e9408 100644 --- a/graphics/kimageannotator/pkg/PLIST +++ b/graphics/kimageannotator/pkg/PLIST @@ -1,15 +1,18 @@ -include/kImageAnnotator/ -include/kImageAnnotator/KImageAnnotator.h -include/kImageAnnotator/KImageAnnotatorExport.h -lib/cmake/kImageAnnotator/ -lib/cmake/kImageAnnotator/kImageAnnotator-targets${MODCMAKE_BUILD_SUFFIX} -lib/cmake/kImageAnnotator/kImageAnnotator-targets.cmake -lib/cmake/kImageAnnotator/kImageAnnotatorConfig-version.cmake -lib/cmake/kImageAnnotator/kImageAnnotatorConfig.cmake +include/kImageAnnotator-Qt6/ +include/kImageAnnotator-Qt6/kImageAnnotator/ +include/kImageAnnotator-Qt6/kImageAnnotator/KImageAnnotator.h +include/kImageAnnotator-Qt6/kImageAnnotator/KImageAnnotatorExport.h +lib/cmake/ +lib/cmake/kImageAnnotator-Qt6/ +lib/cmake/kImageAnnotator-Qt6/kImageAnnotator-Qt6Config-version.cmake +lib/cmake/kImageAnnotator-Qt6/kImageAnnotator-Qt6Config.cmake +lib/cmake/kImageAnnotator-Qt6/kImageAnnotator-targets${MODCMAKE_BUILD_SUFFIX} +lib/cmake/kImageAnnotator-Qt6/kImageAnnotator-targets.cmake @lib lib/libkImageAnnotator.so.${LIBkImageAnnotator_VERSION} share/kImageAnnotator/ share/kImageAnnotator/translations/ share/kImageAnnotator/translations/kImageAnnotator_ar.qm +share/kImageAnnotator/translations/kImageAnnotator_bg.qm share/kImageAnnotator/translations/kImageAnnotator_ca.qm share/kImageAnnotator/translations/kImageAnnotator_cs.qm share/kImageAnnotator/translations/kImageAnnotator_da.qm