41 lines
1,000 B
Makefile
41 lines
1,000 B
Makefile
COMMENT = Vulkan ICD loader
|
|
|
|
V = 1.3.261.1
|
|
PKGNAME = vulkan-loader-${V}
|
|
GH_TAGNAME = sdk-${V}
|
|
GH_ACCOUNT = KhronosGroup
|
|
GH_PROJECT = Vulkan-Loader
|
|
|
|
SHARED_LIBS += vulkan 1.1 # 1.3.204.1
|
|
|
|
CATEGORIES = devel graphics
|
|
|
|
HOMEPAGE = https://www.khronos.org/vulkan/
|
|
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += X11 xcb m pthread
|
|
|
|
BUILD_DEPENDS = graphics/vulkan-headers
|
|
RUN_DEPENDS = graphics/vulkan-headers
|
|
|
|
# XXX: building 1.3.261.1 with ENABLE_WERROR fails with
|
|
# vk_loader_platform.h:305:59: error: unused parameter 'buffer'
|
|
# [-Werror,-Wunused-parameter]
|
|
CONFIGURE_ARGS =-DBUILD_WSI_WAYLAND_SUPPORT=False \
|
|
-DENABLE_WERROR=False \
|
|
-DFALLBACK_CONFIG_DIRS="${SYSCONFDIR}/xdg" \
|
|
-DFALLBACK_DATA_DIRS="${X11BASE}/share:${LOCALBASE}/share:/usr/share"
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
MODULES = devel/cmake \
|
|
lang/python
|
|
MODPY_RUNDEP = No
|
|
|
|
# Tests only build if Google Test framework is in directory external/
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|