git: 24800c9c68cb - main - graphics/kgraphviewer: update to 24.12.2

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Wed, 12 Feb 2025 09:17:56 UTC
The branch main has been updated by makc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=24800c9c68cbd73df5f95396a8033f3d954ab4d8

commit 24800c9c68cbd73df5f95396a8033f3d954ab4d8
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2025-02-11 21:58:51 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2025-02-12 09:17:40 +0000

    graphics/kgraphviewer: update to 24.12.2
    
    and connect to KDE Gear distribution.
---
 graphics/kgraphviewer/Makefile  | 13 ++++++-------
 graphics/kgraphviewer/distinfo  |  6 +++---
 graphics/kgraphviewer/pkg-plist |  5 ++++-
 3 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/graphics/kgraphviewer/Makefile b/graphics/kgraphviewer/Makefile
index b67c115fb036..c541c99da7a1 100644
--- a/graphics/kgraphviewer/Makefile
+++ b/graphics/kgraphviewer/Makefile
@@ -1,8 +1,6 @@
 PORTNAME=	kgraphviewer
-DISTVERSION=	2.5.0
-CATEGORIES=	graphics kde
-MASTER_SITES=	KDE/stable/${PORTNAME}/${PORTVERSION}/
-DIST_SUBDIR=	KDE/${PORTNAME}
+DISTVERSION=	${KDE_APPLICATIONS_VERSION}
+CATEGORIES=	graphics kde kde-applications
 
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Graphs-viewer for GraphViz files
@@ -14,14 +12,15 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/concept_check.hpp:devel/boost-libs
 LIB_DEPENDS=	libgvc.so:graphics/graphviz
 
-USES=		cmake compiler:c++11-lang desktop-file-utils gettext \
-		kde:6 pkgconfig qt:6 tar:xz xorg
+USES=		cmake compiler:c++17-lang desktop-file-utils gettext-tools \
+		kde:6 localbase pkgconfig qt:6 tar:xz xorg
 USE_KDE=	coreaddons i18n parts widgetsaddons \
 		ecm:build doctools:build
 USE_QT=		5compat base svg \
 		tools:build
 USE_XORG=	x11
 
-PLIST_SUB=	SHLIB_VER=${PORTVERSION}
+_${PORTNAME}_PROJECT_VERSION=	2.5
+KDE_APPS_BASED_PATCHLEVEL=	${KDE_APPLICATIONS_VERSION:R:S/.//}${KDE_APPLICATIONS_VERSION:E}
 
 .include <bsd.port.mk>
diff --git a/graphics/kgraphviewer/distinfo b/graphics/kgraphviewer/distinfo
index cff49de1280e..f04ca6087284 100644
--- a/graphics/kgraphviewer/distinfo
+++ b/graphics/kgraphviewer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1738703572
-SHA256 (KDE/kgraphviewer/kgraphviewer-2.5.0.tar.xz) = 872bee63fb4df6f7fb2b4eaf02ff825cba3ca953ac02509a287fe5cd0f1e2b69
-SIZE (KDE/kgraphviewer/kgraphviewer-2.5.0.tar.xz) = 1571364
+TIMESTAMP = 1739301994
+SHA256 (KDE/release-service/24.12.2/kgraphviewer-24.12.2.tar.xz) = 64b2fb71fe13ef5adb9e055b854ac4b1699a3aef6726576dc69b73d9fee1ff0a
+SIZE (KDE/release-service/24.12.2/kgraphviewer-24.12.2.tar.xz) = 1590408
diff --git a/graphics/kgraphviewer/pkg-plist b/graphics/kgraphviewer/pkg-plist
index ad592b870fe2..44d6f56b4dd1 100644
--- a/graphics/kgraphviewer/pkg-plist
+++ b/graphics/kgraphviewer/pkg-plist
@@ -5,7 +5,7 @@ lib/cmake/KGraphViewerPart/KGraphViewerPartConfigVersion.cmake
 lib/cmake/KGraphViewerPart/KGraphViewerPartTargets.cmake
 lib/libkgraphviewer.so
 lib/libkgraphviewer.so.0
-lib/libkgraphviewer.so.%%SHLIB_VER%%
+lib/libkgraphviewer.so.%%SHLIB_VER_LONG%%
 %%QT_PLUGINDIR%%/kf6/parts/kgraphviewerpart.so
 share/applications/org.kde.kgraphviewer.desktop
 share/config.kcfg/kgraphviewer_partsettings.kcfg
@@ -57,6 +57,8 @@ share/doc/HTML/it/kgraphviewer/index.cache.bz2
 share/doc/HTML/it/kgraphviewer/index.docbook
 share/doc/HTML/nl/kgraphviewer/index.cache.bz2
 share/doc/HTML/nl/kgraphviewer/index.docbook
+share/doc/HTML/sl/kgraphviewer/index.cache.bz2
+share/doc/HTML/sl/kgraphviewer/index.docbook
 share/doc/HTML/sv/kgraphviewer/index.cache.bz2
 share/doc/HTML/sv/kgraphviewer/index.docbook
 share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-ask1.png
@@ -97,6 +99,7 @@ share/locale/fi/LC_MESSAGES/kgraphviewer.mo
 share/locale/fr/LC_MESSAGES/kgraphviewer.mo
 share/locale/ga/LC_MESSAGES/kgraphviewer.mo
 share/locale/gl/LC_MESSAGES/kgraphviewer.mo
+share/locale/he/LC_MESSAGES/kgraphviewer.mo
 share/locale/hi/LC_MESSAGES/kgraphviewer.mo
 share/locale/hne/LC_MESSAGES/kgraphviewer.mo
 share/locale/hr/LC_MESSAGES/kgraphviewer.mo