New package: SPIRV-Tools-2018.2.

This commit is contained in:
maxice8 2018-08-04 16:42:20 -03:00
parent 0f2221df1e
commit 6e32fbf27c
2 changed files with 26 additions and 0 deletions

1
srcpkgs/SPIRV-Tools-devel Symbolic link
View File

@ -0,0 +1 @@
SPIRV-Tools

View File

@ -0,0 +1,25 @@
# Template file for 'SPIRV-Tools'
pkgname=SPIRV-Tools
version=2018.2
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"
checksum=04acadbfab3018cb72dda3aa41081abd7bec9f53c7126e58548f018b602c2f89
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"
}
}