22 lines
862 B
Bash
22 lines
862 B
Bash
# Template file for 'Vulkan-ValidationLayers'
|
|
pkgname=Vulkan-ValidationLayers
|
|
version=1.1.127
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-C ${XBPS_CROSS_BASE}/tmp/helper.cmake
|
|
-DCMAKE_INSTALL_INCLUDEDIR=/usr/include/vulkan/ -DBUILD_LAYER_SUPPORT_FILES=ON"
|
|
hostmakedepends="python3 git pkg-config"
|
|
makedepends="libXrandr-devel wayland-devel"
|
|
short_desc="Khronos official Vulkan validation layers"
|
|
maintainer="Colin Gillespie <colin@breavyn.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://www.khronos.org/vulkan/"
|
|
distfiles="https://github.com/KhronosGroup/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=2ffe0d899c74ce0fc3c7ba9f90eccd5b3b78e0f90519dee9c701366bc0f795be
|
|
|
|
pre_configure() {
|
|
# Fetch and compile "known good" versions of dependencies
|
|
./scripts/update_deps.py --dir=${XBPS_CROSS_BASE}/tmp
|
|
# NOTE: this directory won't be cleaned by xbps-src clean
|
|
}
|