x11-toolkits/qml-box2d: Unflavorize

The qt5 flavor is no longer needed with the update of games/gcompris-qt,
its only consumer, in the following commit.
This commit is contained in:
Jason E. Hale 2025-02-04 02:34:04 -05:00
parent 2169ecb6c7
commit 575006e026
2 changed files with 7 additions and 15 deletions

2
MOVED
View file

@ -4119,3 +4119,5 @@ x11/plasma5-plasma-integration|x11/plasma6-plasma-integration|2025-02-03|Moved t
x11/plasma5-plasma-workspace|x11/plasma6-plasma-workspace|2025-02-03|Moved to Plasma 6 x11/plasma5-plasma-workspace|x11/plasma6-plasma-workspace|2025-02-03|Moved to Plasma 6
www/falkon@default|www/falkon@kf6|2025-02-03|Flavor was renamed to use a more standard PKGNAMESUFFIX www/falkon@default|www/falkon@kf6|2025-02-03|Flavor was renamed to use a more standard PKGNAMESUFFIX
www/falkon@qtonly|www/falkon@qt6|2025-02-03|Flavor was renamed to use a more standard PKGNAMESUFFIX www/falkon@qtonly|www/falkon@qt6|2025-02-03|Flavor was renamed to use a more standard PKGNAMESUFFIX
x11-toolkits/qml-box2d@qt5||2025-02-03|Unflavorize port, qt5 flavor is no longer used in ports tree
x11-toolkits/qml-box2d@qt6|x11-toolkits/qml-box2d|2025-02-03|Unflavorize port, as it is now qt6 only

View file

@ -1,7 +1,7 @@
PORTNAME= qml-box2d PORTNAME= qml-box2d
DISTVERSION= 2.0.20240415 DISTVERSION= 2.0.20240415
CATEGORIES= x11-toolkits CATEGORIES= x11-toolkits
PKGNAMESUFFIX= -${FLAVOR} PKGNAMESUFFIX= -qt6
MAINTAINER= kde@FreeBSD.org MAINTAINER= kde@FreeBSD.org
COMMENT= QML Box2D plugin COMMENT= QML Box2D plugin
@ -10,23 +10,13 @@ WWW= https://github.com/qml-box2d/qml-box2d
LICENSE= ZLIB LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
FLAVORS= qt5 qt6 USES= cmake compiler:c++17-lang gl qt:6
FLAVOR?= qt5
USES= cmake compiler:c++11-lang gl qt:${FLAVOR:S/qt//}
USE_GITHUB= yes USE_GITHUB= yes
GH_TAGNAME= 3a85439 GH_TAGNAME= 3a85439
_USE_GL=qt5= # empty USE_GL= gl opengl # glx
_USE_GL_qt6= gl opengl # glx USE_QT= base declarative
USE_GL= ${_USE_GL_${FLAVOR}}
_USE_QT_qt5= core declarative gui network \
buildtools:build qmake:build
_USE_QT_qt6= base declarative
USE_QT= ${_USE_QT_${FLAVOR}}
CMAKE_ARGS= -DCMAKE_INSTALL_LIBDIR:STRING="${QT_QMLDIR}" CMAKE_ARGS= -DCMAKE_INSTALL_LIBDIR:STRING="${QT_QMLDIR}"
_CMAKE_OFF_qt5= USE_QT6 CMAKE_OFF= BUILD_EXAMPLES
CMAKE_OFF= BUILD_EXAMPLES \
${_CMAKE_OFF_${FLAVOR}}
.include <bsd.port.mk> .include <bsd.port.mk>