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 @@ -1,26 +1,25 @@ PORTNAME= phonon 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 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 .include 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 @@ -1,11 +1,11 @@ Find installed Phonon library and link to it instead of building 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 seeksliderplugin.cpp