22 lines
757 B
Bash
22 lines
757 B
Bash
# Template file for 'vulkan-loader'
|
|
pkgname=vulkan-loader
|
|
_pkgname=Vulkan-Loader
|
|
version=1.1.123
|
|
revision=1
|
|
wrksrc="${_pkgname}-${version}"
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTS=OFF"
|
|
hostmakedepends="python3 pkg-config"
|
|
makedepends="Vulkan-Headers libxcb-devel libxkbcommon-devel wayland-devel
|
|
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/v${version}.tar.gz"
|
|
checksum=9d3ddb84c21c41b259bbd59e649732f0c06b7bb9c42b27311851680bace0ddde
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args+=" -DVULKAN_HEADERS_INSTALL_DIR=${XBPS_CROSS_BASE}/usr"
|
|
fi
|