SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
44
graphics/vulkan-validation-layers/Makefile
Normal file
44
graphics/vulkan-validation-layers/Makefile
Normal file
|
@ -0,0 +1,44 @@
|
|||
COMMENT = Vulkan Validation Layers
|
||||
|
||||
V = 1.3.250.1
|
||||
PKGNAME = vulkan-validation-layers-${V}
|
||||
GH_TAGNAME = sdk-${V}
|
||||
GH_ACCOUNT = KhronosGroup
|
||||
GH_PROJECT = Vulkan-ValidationLayers
|
||||
|
||||
CATEGORIES = devel graphics
|
||||
|
||||
HOMEPAGE = https://www.khronos.org/vulkan/
|
||||
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
|
||||
|
||||
# Apache 2.0
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} m
|
||||
|
||||
# C++17
|
||||
COMPILER = base-clang ports-gcc
|
||||
|
||||
MODULES = devel/cmake \
|
||||
lang/python
|
||||
MODPY_RUNDEP = No
|
||||
|
||||
BUILD_DEPENDS = devel/robin-hood-hashing \
|
||||
graphics/vulkan-headers \
|
||||
graphics/spirv-headers \
|
||||
graphics/spirv-tools
|
||||
|
||||
CONFIGURE_ARGS += -DBUILD_WSI_WAYLAND_SUPPORT=False \
|
||||
-DSPIRV_HEADERS_INSTALL_DIR=${LOCALBASE}/include/spirv \
|
||||
-DBUILD_WERROR=False
|
||||
|
||||
# Tests only build if Google Test framework is in directory external/
|
||||
NO_TEST = Yes
|
||||
|
||||
CXXFLAGS += -I${X11BASE}/include
|
||||
|
||||
.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
|
||||
CXXFLAGS += -mxgot
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
Loading…
Add table
Add a link
Reference in a new issue