# Template file for 'Vulkan-Tools' pkgname=Vulkan-Tools version=1.3.204.1 revision=1 wrksrc="Vulkan-Tools-sdk-${version}" build_style=cmake configure_args="-DGLSLANG_INSTALL_DIR=/usr -DBUILD_CUBE=$(vopt_if cube ON OFF) -DVULKAN_HEADERS_INSTALL_DIR=${XBPS_CROSS_BASE}/usr -Wno-dev" hostmakedepends="python3 pkg-config $(vopt_if cube glslang)" makedepends="Vulkan-Headers vulkan-loader libxcb-devel libxkbcommon-devel wayland-devel wayland-protocols libXrandr-devel" short_desc="Official Vulkan tools and utilities" maintainer="tibequadorian " license="Apache-2.0" homepage="https://www.khronos.org/vulkan/" distfiles="https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-${version}.tar.gz" checksum=3242f9ad158d02af9cc44186cbd415982387356a2dd8c0492af2fdace8c22f49 build_options="cube" desc_option_cube="Build cube vulkan demo" if [ -z "$CROSS_BUILD" ]; then build_options_default="cube" fi