26 lines
802 B
Bash
26 lines
802 B
Bash
# Template file for 'SPIRV-Tools'
|
|
pkgname=SPIRV-Tools
|
|
version=2020.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DSPIRV_SKIP_TESTS=ON -DSPIRV_WERROR=OFF
|
|
-DSPIRV-Headers_SOURCE_DIR=${XBPS_CROSS_BASE}/usr"
|
|
hostmakedepends="python3"
|
|
makedepends="SPIRV-Headers"
|
|
short_desc="API and commands for processing SPIR-V modules"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/KhronosGroup/SPIRV-Tools"
|
|
distfiles="https://github.com/KhronosGroup/SPIRV-Tools/archive/v${version}.tar.gz"
|
|
checksum=1eaa5e09c638d7113b60d825e6ce44406b35031be68db894a016b5faf45de568
|
|
|
|
SPIRV-Tools-devel_package() {
|
|
depends="SPIRV-Tools-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|