29 lines
962 B
Bash
29 lines
962 B
Bash
# Template file for 'SPIRV-Tools'
|
|
pkgname=SPIRV-Tools
|
|
version=2024.3
|
|
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="Daniel Martinez <danielmartinez@cock.li>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/KhronosGroup/SPIRV-Tools"
|
|
changelog="https://raw.githubusercontent.com/KhronosGroup/SPIRV-Tools/master/CHANGES"
|
|
distfiles="https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v${version}.rc1.tar.gz"
|
|
checksum=c639b53d2da17bac5a726df36d8da859a481739788bf67a5e4acfa7fab06d17e
|
|
LDFLAGS="-Wl,--no-undefined"
|
|
|
|
SPIRV-Tools-devel_package() {
|
|
depends="SPIRV-Tools-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|