git: 1376ee206c45 - main - devel/gammaray: Fix build

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 17 Sep 2024 10:43:24 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1376ee206c452b59c514329fcfd706c579c95096

commit 1376ee206c452b59c514329fcfd706c579c95096
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-09-17 10:35:38 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-09-17 10:43:06 +0000

    devel/gammaray: Fix build
    
    - Add missing dependency
---
 devel/gammaray/Makefile  | 11 +++++++----
 devel/gammaray/pkg-plist |  6 ++++++
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/devel/gammaray/Makefile b/devel/gammaray/Makefile
index d51d75587dc8..cf63fd6525e4 100644
--- a/devel/gammaray/Makefile
+++ b/devel/gammaray/Makefile
@@ -44,8 +44,9 @@ USE_QT+=	buildtools:build concurrent core designer gui help \
 		qmake:build script scripttools uiplugin widgets xml
 QT_VERSION=${QT5_VERSION:C/\./_/:C/\..*//}
 .else
-USES+=		kde:6 qt:6
-USE_QT+=	shadertools
+USES+=		gl kde:6 qt:6
+USE_GL=		gl
+USE_QT+=	base positioning shadertools
 QT_VERSION=${QT6_VERSION:C/\./_/:C/\..*//}
 .endif
 
@@ -62,9 +63,11 @@ PLIST_SUB=	WEBENGINE="@comment "
 .endif
 
 .if ${FLAVOR} == qt5
-PLIST_SUB+=	QT5=""
+PLIST_SUB+=	QT5="" \
+		QT6="@comment "
 .else
-PLIST_SUB+=	QT5="@comment "
+PLIST_SUB+=	QT5="@comment " \
+		QT6=""
 .endif
 
 PLIST_SUB+=	ARCH=${ARCH:S/amd64/x86_64/:S/i386/i686/:C/armv./arm/} \
diff --git a/devel/gammaray/pkg-plist b/devel/gammaray/pkg-plist
index 756e37df5e82..ef2a32c996de 100644
--- a/devel/gammaray/pkg-plist
+++ b/devel/gammaray/pkg-plist
@@ -7,6 +7,7 @@ include/gammaray/common/endpoint.h
 include/gammaray/common/enumdefinition.h
 include/gammaray/common/enumrepository.h
 include/gammaray/common/enumvalue.h
+include/gammaray/common/favoriteobjectinterface.h
 include/gammaray/common/gammaray_common_export.h
 include/gammaray/common/metatypedeclarations.h
 include/gammaray/common/modelroles.h
@@ -33,6 +34,7 @@ include/gammaray/core/probe.h
 include/gammaray/core/probecontroller.h
 include/gammaray/core/propertycontroller.h
 include/gammaray/core/propertycontrollerextension.h
+include/gammaray/core/server.h
 include/gammaray/core/signalspycallbackset.h
 include/gammaray/core/singlecolumnobjectproxymodel.h
 include/gammaray/core/toolfactory.h
@@ -89,6 +91,7 @@ lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_modelinspector_ui.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_modelinspector.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_network_ui.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_network.so
+lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_openglsupport.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_positioning_ui.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_positioning.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_probe.so
@@ -149,6 +152,8 @@ mkspecs/modules/qt_GammaRayLauncherUi.pri
 mkspecs/modules/qt_GammaRayUi.pri
 share/metainfo/com.kdab.GammaRay.metainfo.xml
 share/applications/GammaRay.desktop
+%%QT6%%share/doc/GammaRay/gammaray-manual.qch
+%%QT6%%share/doc/GammaRay/gammaray.qhc
 share/icons/hicolor/16x16/apps/GammaRay.png
 share/icons/hicolor/16x16@2/apps/GammaRay.png
 share/icons/hicolor/16x16@3/apps/GammaRay.png
@@ -175,3 +180,4 @@ share/icons/hicolor/512x512@2/apps/GammaRay.png
 share/man/man1/gammaray.1.gz
 %%DATADIR%%/translations/gammaray_de.qm
 %%DATADIR%%/translations/gammaray_en.qm
+share/zsh/site-functions/_gammaray