git: 198e31ac448d - main - comms/gqrx: Remove Qt5 support

From: Ganael LAPLANCHE <martymac_at_FreeBSD.org>
Date: Thu, 03 Dec 2026 15:03:46 UTC
The branch main has been updated by martymac:

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

commit 198e31ac448dcd97aec4df47a0ddbef742bed93e
Author:     Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2026-12-03 15:00:06 +0000
Commit:     Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2026-12-03 15:00:06 +0000

    comms/gqrx: Remove Qt5 support
    
    Qt5 is being deprecated, un-flavor port to always use Qt6
    
    PR:             301362
    Reported by:    makc
---
 comms/gqrx/Makefile | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/comms/gqrx/Makefile b/comms/gqrx/Makefile
index 19c12ae034e0..58698b0a9b92 100644
--- a/comms/gqrx/Makefile
+++ b/comms/gqrx/Makefile
@@ -1,10 +1,9 @@
 PORTNAME=	gqrx
 PORTVERSION=	2.17.7
 DISTVERSIONPREFIX=	v
-PORTREVISION=	7
+PORTREVISION=	8
 PORTEPOCH=	1
 CATEGORIES=	comms hamradio
-PKGNAMESUFFIX=	-${FLAVOR}
 
 MAINTAINER=	martymac@FreeBSD.org
 COMMENT=	Software defined radio receiver powered by GNU Radio and Qt
@@ -33,24 +32,18 @@ LIB_DEPENDS=	libgnuradio-runtime.so:comms/gnuradio \
 		libjack.so:audio/jack \
 		libportaudio.so:audio/portaudio
 
-FLAVORS=	qt6 qt5
-FLAVOR?=	qt6
-
-USES=		cmake compiler:c++11-lang gl pkgconfig qt:${FLAVOR:S/qt//}
+USES=		cmake compiler:c++11-lang gl pkgconfig qt:6
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	gqrx-sdr
 USE_GL=		gl
-_USE_QT_qt5=	core gui network svg widgets
-_USE_QT_qt6=	base svg
-USE_QT=		${_USE_QT_${FLAVOR}}
+USE_QT=		base svg
 
-CONFLICTS_INSTALL=	gqrx ${FLAVORS:N${FLAVOR}:S/^/${PORTNAME}-/}
+CONFLICTS_INSTALL=	gqrx gqrx-qt5
 
 # XXX Use Portaudio as Gqrx is invariably linked to it
 # (auto-detected and used through Gnuradio CMake files)
-CMAKE_ARGS+=	-DLINUX_AUDIO_BACKEND:STRING="Portaudio" \
-		-DFORCE_QT${FLAVOR:S/qt//}:BOOL=ON
+CMAKE_ARGS+=	-DLINUX_AUDIO_BACKEND:STRING="Portaudio"
 
 # XXX Work around Gnuradio 3.8 headers (gnuradio/rpcserver_aggregator.h) still
 # using std::unary_function (removed with C++17). This breaks when building