void-packages/srcpkgs/vulkan-loader/template

22 lines
780 B
Bash

# Template file for 'vulkan-loader'
pkgname=vulkan-loader
_pkgname=Vulkan-Loader
version=1.1.77.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTS=Off"
wrksrc="${_pkgname}-sdk-${version}"
hostmakedepends="python3 pkg-config"
makedepends="Vulkan-Headers libxcb-devel libxkbcommon-devel wayland-devel
libwayland-egl libXrandr-devel"
short_desc="Vulkan Installable Client Driver (ICD) loader"
maintainer="Arvin Ignaci <arvin.ignaci@gmail.com>"
license="Apache-2.0"
homepage="https://www.khronos.org/vulkan/"
distfiles="https://github.com/KhronosGroup/${_pkgname}/archive/sdk-${version}.tar.gz"
checksum=4d80cd2f56e55812b685fcc90c72ef9fc3d4def7e7aae1330934a9c5cb32e8fd
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DVULKAN_HEADERS_INSTALL_DIR=${XBPS_CROSS_BASE}/usr"
fi