2018-08-04 21:42:20 +02:00
|
|
|
# Template file for 'SPIRV-Tools'
|
|
|
|
pkgname=SPIRV-Tools
|
2018-11-07 19:41:42 +01:00
|
|
|
version=2018.6
|
2018-08-04 21:42:20 +02:00
|
|
|
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="maxice8 <thinkabit.ukim@gmail.com>"
|
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://github.com/KhronosGroup/SPIRV-Tools"
|
|
|
|
distfiles="https://github.com/KhronosGroup/SPIRV-Tools/archive/v${version}.tar.gz"
|
2018-11-07 19:41:42 +01:00
|
|
|
checksum=e7fccd5e1e134a4ce09a25475ca52c5a8a57085b07e0bbaa39aff20d36911d66
|
2018-08-04 21:42:20 +02:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
2018-09-27 21:26:44 +02:00
|
|
|
}
|