git: 22b886ba8c47 - main - multimedia/phonon-designerplugin: convert to Qt6

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Tue, 23 Dec 2025 11:55:07 UTC
The branch main has been updated by makc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=22b886ba8c47e030203fbe4acc660bcfc3679c63

commit 22b886ba8c47e030203fbe4acc660bcfc3679c63
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2025-12-23 11:42:25 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2025-12-23 11:43:44 +0000

    multimedia/phonon-designerplugin: convert to Qt6
---
 multimedia/phonon-designerplugin/Makefile                 | 15 +++++++--------
 .../files/patch-designer_CMakeLists.txt                   |  2 +-
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/multimedia/phonon-designerplugin/Makefile b/multimedia/phonon-designerplugin/Makefile
index efe794e3b343..fa2c68d91ed5 100644
--- a/multimedia/phonon-designerplugin/Makefile
+++ b/multimedia/phonon-designerplugin/Makefile
@@ -3,7 +3,7 @@ DISTVERSION=	4.12.0
 CATEGORIES=	multimedia kde
 MASTER_SITES=	KDE/stable/${PORTNAME}/${DISTVERSION}
 DIST_SUBDIR=	KDE/phonon
-PKGNAMESUFFIX=	-designerplugin-qt5
+PKGNAMESUFFIX=	-designerplugin-qt6
 
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt Designer plugin for Phonon
@@ -11,15 +11,14 @@ WWW=		https://userbase.kde.org/Phonon
 
 LICENSE=	LGPL21
 
-USES=		cmake:insource compiler:c++11-lang kde:5 qt:5 tar:xz
+USES=		cmake:insource compiler:c++11-lang kde:6 qt:6 tar:xz
 USE_KDE=	phonon ecm:build
-USE_QT=		core designer gui uiplugin widgets xml \
-		buildtools:build qmake:build
-CMAKE_ON=	PHONON_BUILD_QT5
-CMAKE_OFF=	PHONON_BUILD_QT6
-PLIST_FILES=	${QT_PLUGINDIR_REL}/designer/phonon4qt5widgets.so
+USE_QT=		5compat base tools
+CMAKE_OFF=	PHONON_BUILD_QT5
+CMAKE_ON=	PHONON_BUILD_QT6
+PLIST_FILES=	${QT_PLUGINDIR_REL}/designer/phonon4qt6widgets.so
 
-BUILD_WRKSRC=	${WRKSRC}/designer5
+BUILD_WRKSRC=	${WRKSRC}/designer6
 INSTALL_WRKSRC=	${BUILD_WRKSRC}
 DISTINFO_FILE=	${.CURDIR:H}/phonon/distinfo
 
diff --git a/multimedia/phonon-designerplugin/files/patch-designer_CMakeLists.txt b/multimedia/phonon-designerplugin/files/patch-designer_CMakeLists.txt
index ccf0608be24f..6518b97c84e5 100644
--- a/multimedia/phonon-designerplugin/files/patch-designer_CMakeLists.txt
+++ b/multimedia/phonon-designerplugin/files/patch-designer_CMakeLists.txt
@@ -4,7 +4,7 @@ another internal copy and linking to that.
 --- designer/CMakeLists.txt.orig	2023-11-03 23:37:02 UTC
 +++ designer/CMakeLists.txt
 @@ -1,3 +1,5 @@
-+find_package(Phonon4Qt5 ${PROJECT_VERSION} EXACT REQUIRED)
++find_package(Phonon4Qt6 ${PROJECT_VERSION} EXACT REQUIRED)
 +
  set(phononwidgetsplugin_SRCS
      phononcollection.cpp