git: 6f1aac8d6f0e - main - devel/hotspot: Switch to Qt6

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 25 Jun 2025 09:04:36 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6f1aac8d6f0e7b5736b0cfa027064854dc34c56c

commit 6f1aac8d6f0e7b5736b0cfa027064854dc34c56c
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-06-22 16:34:58 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-06-25 09:04:31 +0000

    devel/hotspot: Switch to Qt6
    
    PR:             287772
    Approved by:    yuri
    Pull Request:   https://github.com/freebsd/freebsd-ports/pull/411
---
 devel/hotspot/Makefile  | 14 +++++++-------
 devel/hotspot/pkg-plist |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/devel/hotspot/Makefile b/devel/hotspot/Makefile
index 7658f9119413..062547ddf138 100644
--- a/devel/hotspot/Makefile
+++ b/devel/hotspot/Makefile
@@ -1,10 +1,10 @@
 PORTNAME=	hotspot
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.5.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 
-MAINTAINER=	yuri@FreeBSD.org
+MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Perf GUI for performance analysis (needs mock 'perf' command)
 WWW=		https://github.com/KDAB/hotspot
 
@@ -13,18 +13,17 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.GPL.txt
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/librustc_demangle.a:devel/rustc-demangle
 LIB_DEPENDS=	libdw.so:devel/elfutils \
-		libQCustomPlot-qt5.so:graphics/qcustomplot@qt5 \
-		libkddockwidgets.so:x11-toolkits/kddockwidgets \
+		libQCustomPlotQt6.so:graphics/qcustomplot@qt6 \
+		libkddockwidgets-qt6.so:x11-toolkits/kddockwidgets \
 		libkgraphviewer.so:graphics/kgraphviewer \
 		libzstd.so:archivers/zstd
 
-USES=		cmake desktop-file-utils qt:5 kde:5 pkgconfig xorg
+USES=		cmake desktop-file-utils gettext-tools qt:6 kde:6 pkgconfig xorg
 USE_KDE=	ecm \
 		archive auth bookmarks codecs completion config configwidgets coreaddons i18n iconthemes \
 		itemmodels itemviews jobwidgets kio notifications parts service solid sonnet syntaxhighlighting \
 		textwidgets threadweaver widgetsaddons windowsystem xmlgui
-USE_QT=		concurrent core dbus declarative gui network quickcontrols2 svg widgets x11extras xml \
-		buildtools:build qmake:build
+USE_QT=		base declarative
 USE_XORG=	x11
 
 USE_GITHUB=	yes
@@ -32,6 +31,7 @@ GH_ACCOUNT=	KDAB
 GH_TUPLE=	KDAB:perfparser:851ebf0:perfparser/3rdparty/perfparser \
 		koenpoppe:PrefixTickLabels:6e86393:PrefixTickLabels/3rdparty/PrefixTickLabels
 
+CMAKE_ON=	QT6_BUILD
 CMAKE_ARGS=	-DCMAKE_MODULE_PATH=${LOCALBASE}/share/ECM/find-modules
 
 PORTSCOUT=	limit:^.*[0-9]\.[0-9].*$$ # prevent tags like 'continuous'
diff --git a/devel/hotspot/pkg-plist b/devel/hotspot/pkg-plist
index fe2226a4131f..c7cad8fa9048 100644
--- a/devel/hotspot/pkg-plist
+++ b/devel/hotspot/pkg-plist
@@ -7,5 +7,5 @@ share/icons/hicolor/22x22/apps/hotspot.png
 share/icons/hicolor/32x32/apps/hotspot.png
 share/icons/hicolor/48x48/apps/hotspot.png
 share/icons/hicolor/64x64/apps/hotspot.png
-share/knotifications5/hotspot.notifyrc
+share/knotifications6/hotspot.notifyrc
 share/metainfo/com.kdab.Hotspot.appdata.xml