mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 03:46:30 -04:00
Changes: https://github.com/KhronosGroup/glslang/compare/7.11.3214...8.13.3743 Changes: https://github.com/KhronosGroup/SPIRV-Headers/compare/1.4.1...1.5.3 Changes: https://github.com/KhronosGroup/SPIRV-Tools/compare/v2019.3...v2020.2 Changes: https://github.com/google/shaderc/compare/v2018.0...v2020.0 Changes: https://github.com/KhronosGroup/Vulkan-Headers/compare/sdk-1.1.108.0...sdk-1.2.135.0 Changes: https://github.com/KhronosGroup/Vulkan-Loader/compare/sdk-1.1.108.0...sdk-1.2.135.0 Changes: https://github.com/KhronosGroup/Vulkan-Tools/compare/sdk-1.1.108.0...sdk-1.2.135.0 Changes: https://github.com/KhronosGroup/Vulkan-ValidationLayers/compare/sdk-1.1.108.0...sdk-1.2.135.0 PR: 242775 Submitted by: Austin Shafer <ashafer@badland.io> Approved by: Greg V <greg@unrelenting.technology> (maintainer)
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= vulkan-validation-layers
|
|
DISTVERSIONPREFIX= sdk-
|
|
DISTVERSION= 1.2.135.0
|
|
CATEGORIES= devel graphics
|
|
|
|
MAINTAINER= greg@unrelenting.technology
|
|
COMMENT= Validation layers for the Vulkan graphics API
|
|
|
|
LICENSE= APACHE20
|
|
|
|
# NOTE: keep spirv-tools and glslang up to date when updating Vulkan
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:devel/vulkan-headers \
|
|
${LOCALBASE}/include/spirv-tools/libspirv.h:devel/spirv-tools \
|
|
${LOCALBASE}/include/SPIRV/spirv.hpp:devel/glslang
|
|
|
|
USES= cmake compiler:c++11-lib pkgconfig python:3.4+,build
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= KhronosGroup
|
|
GH_PROJECT= Vulkan-ValidationLayers
|
|
|
|
# WSI_* in here are leftover from when all of Vulkan SDK was in one repo
|
|
CMAKE_OFF= BUILD_TESTS BUILD_WSI_XCB_SUPPORT BUILD_WSI_XLIB_SUPPORT \
|
|
BUILD_WSI_WAYLAND_SUPPORT
|
|
CMAKE_ON= BUILD_LAYER_SUPPORT_FILES
|
|
CMAKE_ARGS= -DGLSLANG_INSTALL_DIR=${LOCALBASE} \
|
|
-DCMAKE_INSTALL_INCLUDEDIR=${LOCALBASE}/include \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
post-install:
|
|
# Avoid conflict with devel/xxhash
|
|
@${RM} ${STAGEDIR}${PREFIX}/include/xxhash.*
|
|
|
|
.include <bsd.port.mk>
|