summaryrefslogtreecommitdiff
path: root/devel/apitrace/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/apitrace/Makefile')
-rw-r--r--devel/apitrace/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/devel/apitrace/Makefile b/devel/apitrace/Makefile
index 60f04c7eacd0..37db1c0e94bf 100644
--- a/devel/apitrace/Makefile
+++ b/devel/apitrace/Makefile
@@ -1,5 +1,5 @@
PORTNAME= apitrace
-DISTVERSION= 12.0
+DISTVERSION= 13.0
CATEGORIES= devel
MAINTAINER= freebsd@sysctl.cz
@@ -13,6 +13,7 @@ BUILD_DEPENDS= brotli>0:archivers/brotli \
googletest>0:devel/googletest \
libbacktrace>0:devel/libbacktrace \
png>0:graphics/png \
+ vulkan-headers>0:graphics/vulkan-headers \
snappy>0:archivers/snappy
LIB_DEPENDS= libbrotlidec.so:archivers/brotli \
@@ -20,37 +21,32 @@ LIB_DEPENDS= libbrotlidec.so:archivers/brotli \
libpng.so:graphics/png \
libsnappy.so:archivers/snappy
-USES= cmake compiler:c++11-lang desktop-file-utils pkgconfig python shebangfix xorg
+USES= cmake compiler:c++17-lang desktop-file-utils localbase:ldflags pkgconfig python qt:6 shebangfix xorg
USE_XORG= x11
USE_GITHUB= yes
-GH_ACCOUNT= apitrace
-GH_PROJECT= apitrace
GH_TUPLE= microsoft:DirectXMath:e95d848:DirectXMath/thirdparty/directxmath
SHEBANG_FILES= scripts/*.py
-OPTIONS_DEFINE= DOCS QT5 WAFFLE
-OPTIONS_DEFAULT= QT5 WAFFLE
+OPTIONS_DEFINE= DOCS WAFFLE
+OPTIONS_DEFAULT= WAFFLE
OPTIONS_SUB= yes
-QT5_USES= qt:5
-QT5_USE= QT=core,gui,network,widgets,buildtools:build,qmake:build
-QT5_CMAKE_BOOL= ENABLE_GUI
+USE_QT= base
+USE_GL= gl opengl
+CMAKE_ON= ENABLE_QT6
WAFFLE_DESC= Use Waffle library to allow retrace on Wayland, headless etc.
+WAFFLE_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols
WAFFLE_LIB_DEPENDS= libwaffle-1.so:graphics/waffle
WAFFLE_CMAKE_BOOL= ENABLE_WAFFLE
-LDFLAGS+= -L${LOCALBASE}/lib
-
post-patch:
${REINPLACE_CMD} -e 's|__linux__|__unix__|' ${WRKSRC}/retrace/glstate_images.cpp
post-install:
${RM} ${STAGEDIR}${DOCSDIR}/LICENSE.txt
-
-post-install-QT5-on:
${INSTALL_DATA} ${FILESDIR}/qapitrace.desktop ${STAGEDIR}${PREFIX}/share/applications
.include <bsd.port.mk>