Files
ports/graphics/vulkan-headers/Makefile
T
Jan Beich 7970256329 graphics/vulkan-headers: update to 1.4.304
Force rebuild vulkan-loader to make sure vulkaninfo shows the new version.

Changes:	https://github.com/KhronosGroup/Vulkan-Headers/compare/v1.3.303...v1.4.304
Reported by:	Repology, portscout
2024-12-21 09:09:38 +01:00

29 lines
735 B
Makefile

PORTNAME= vulkan-headers
DISTVERSIONPREFIX= v
DISTVERSION= 1.4.304
CATEGORIES= graphics
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Headers for the Vulkan graphics API
WWW= https://github.com/KhronosGroup/Vulkan-Headers
LICENSE= APACHE20
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= KhronosGroup
GH_PROJECT= Vulkan-Headers
STRIP= # nothing to strip
NO_ARCH= yes
# XXX Add clang-scan-deps to WITH_CLANG_EXTRAS in src.conf(5)
.if exists(/usr/bin/clang) && !exists(/usr/bin/clang-scan-deps)
CMAKE_OFF+= VULKAN_HEADERS_ENABLE_MODULE
.endif
post-extract:
# genvk.py requires docgenerator.py from Vulkan-Docs, so drop useless shebang
@${FIND} ${WRKSRC}/registry -name \*.py -exec ${REINPLACE_CMD} -i '' '/^#!/d' {} +
.include <bsd.port.mk>