Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2024 14:13:58 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a009395bb470 - main - devel/gammaray: Update version 3.0.0=>3.1.0
Message-ID:  <202409161413.48GEDwib039877@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit a009395bb47001aea5573ebb0fdd7333d1db2811
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-09-16 14:03:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-09-16 14:13:47 +0000

    devel/gammaray: Update version 3.0.0=>3.1.0
    
    - Add qt5 flavor while the default flavor uses qt6
    
    Changelog: https://github.com/KDAB/GammaRay/releases/tag/v3.1.0
---
 devel/gammaray/Makefile  | 37 ++++++++++++++++++-------------------
 devel/gammaray/distinfo  |  6 +++---
 devel/gammaray/pkg-plist | 11 +++++------
 3 files changed, 26 insertions(+), 28 deletions(-)

diff --git a/devel/gammaray/Makefile b/devel/gammaray/Makefile
index 38f9c7cfe213..d51d75587dc8 100644
--- a/devel/gammaray/Makefile
+++ b/devel/gammaray/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gammaray
-DISTVERSION=	3.0.0
+DISTVERSION=	3.1.0
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/KDAB/GammaRay/releases/download/v${DISTVERSION}/
 
@@ -25,36 +25,29 @@ LICENSE_FILE_MIT=	${WRKSRC}/LICENSES/MIT.txt
 LIB_DEPENDS=	libdwarf.so:devel/libdwarf \
 		libelf.so:devel/libelf
 
-#FLAVORS=	qt5 qt6
-#FLAVOR?=	qt6
+FLAVORS=	qt5 qt6
+FLAVOR?=	qt6
 
-#qt5_PKGNAMESUFFIX=		-qt5
-#qt5_CONFLICTS_INSTALL=	${PORTNAME}
-#qt6_CONFLICTS_INSTALL=	${PORTNAME}-qt5
+qt5_PKGNAMESUFFIX=		-qt5
+qt5_CONFLICTS_INSTALL=	${PORTNAME}
+qt6_CONFLICTS_INSTALL=	${PORTNAME}-qt5
 
 USES=		cmake pkgconfig
 
 USE_KDE=	coreaddons syntaxhighlighting
 USE_QT=		3d declarative location svg webchannel
 
-#.if ${FLAVOR} == qt5
+.if ${FLAVOR} == qt5
 USES+=		kde:5 qt:5
 USE_QT+=	buildtools:build concurrent core designer gui help \
 		linguisttools network printsupport qdoc:build \
 		qmake:build script scripttools uiplugin widgets xml
 QT_VERSION=${QT5_VERSION:C/\./_/:C/\..*//}
-#.else
-#USES+=		kde:6 qt:6
-#USE_QT+=	shadertools
-#QT_VERSION=${QT6_VERSION:C/\./_/:C/\..*//}
-#USE_QT+=	charts connectivity datavis3d doc examples imageformats \
-#	multimedia networkauth quick3d quicktimeline remoteobjects scxml \
-#	sensors serialbus serialport speech virtualkeyboard wayland \
-#	webengine websockets webview
-#USE_QT+=	5compat base coap graphs httpserver languageserver lottie pdf positioning \
-#	quick3dphysics quickeffectmaker shadertools tools translations \
-#	sqldriver-sqlite sqldriver-mysql sqldriver-psql sqldriver-odbc
-#.endif
+.else
+USES+=		kde:6 qt:6
+USE_QT+=	shadertools
+QT_VERSION=${QT6_VERSION:C/\./_/:C/\..*//}
+.endif
 
 CMAKE_ON=	STACK_DETAILS_DWARF
 CMAKE_OFF=	STACK_DETAILS_AUTO_DETECT
@@ -68,6 +61,12 @@ USE_QT+=	webengine
 PLIST_SUB=	WEBENGINE="@comment "
 .endif
 
+.if ${FLAVOR} == qt5
+PLIST_SUB+=	QT5=""
+.else
+PLIST_SUB+=	QT5="@comment "
+.endif
+
 PLIST_SUB+=	ARCH=${ARCH:S/amd64/x86_64/:S/i386/i686/:C/armv./arm/} \
 		PORTMAJMIN=${PORTVERSION:C/(.*)\..*/\1/} \
 		PORTVERSION=${PORTVERSION} \
diff --git a/devel/gammaray/distinfo b/devel/gammaray/distinfo
index f773829511e1..a6d7dd922b97 100644
--- a/devel/gammaray/distinfo
+++ b/devel/gammaray/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1726418815
-SHA256 (gammaray-3.0.0.tar.gz) = acd27dbbcbdf73fed497e0b5d6c477f2e11b59c48499752602677037dcd64ba5
-SIZE (gammaray-3.0.0.tar.gz) = 11037590
+TIMESTAMP = 1726491963
+SHA256 (gammaray-3.1.0.tar.gz) = 93b52d5318374896621e1d8b5dd03379c53e0458b1633b539d18737fe8c300cf
+SIZE (gammaray-3.1.0.tar.gz) = 62728353
diff --git a/devel/gammaray/pkg-plist b/devel/gammaray/pkg-plist
index 30124c5b263a..756e37df5e82 100644
--- a/devel/gammaray/pkg-plist
+++ b/devel/gammaray/pkg-plist
@@ -70,8 +70,8 @@ lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_3dinspector_ui.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_3dinspector.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_actioninspector_plugin.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_actioninspector_ui_plugin.so
-lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_codecbrowser_plugin.so
-lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_codecbrowser_ui_plugin.so
+%%QT5%%lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_codecbrowser_plugin.so
+%%QT5%%lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_codecbrowser_ui_plugin.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_eventmonitor_plugin.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_eventmonitor_ui_plugin.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_fontbrowser_plugin.so
@@ -94,17 +94,16 @@ lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_positioning.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_probe.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_qmlsupport_ui.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_qmlsupport.so
-lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_qtivi_ui.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_quickinspector_ui.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_quickinspector.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_quickwidgetsupport.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_sceneinspector_plugin.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_sceneinspector_ui_plugin.so
-lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_scriptenginedebugger_plugin.so
-lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_scriptenginedebugger_ui_plugin.so
+%%QT5%%lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_scriptenginedebugger_plugin.so
+%%QT5%%lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_scriptenginedebugger_ui_plugin.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_signalmonitor_ui.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_signalmonitor.so
-lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_statemachineviewer_plugin.so
+%%QT5%%lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_statemachineviewer_plugin.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_styleinspector_plugin.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_styleinspector_ui_plugin.so
 lib/gammaray/%%PORTMAJMIN%%/qt%%QTVER%%-%%ARCH%%/gammaray_sysinfo_plugin.so



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409161413.48GEDwib039877>