From 6e32fbf27c21b37ddba37984c203959ad4a9e7d6 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 4 Aug 2018 16:42:20 -0300 Subject: [PATCH] New package: SPIRV-Tools-2018.2. --- srcpkgs/SPIRV-Tools-devel | 1 + srcpkgs/SPIRV-Tools/template | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 120000 srcpkgs/SPIRV-Tools-devel create mode 100644 srcpkgs/SPIRV-Tools/template diff --git a/srcpkgs/SPIRV-Tools-devel b/srcpkgs/SPIRV-Tools-devel new file mode 120000 index 00000000000..209c192bce6 --- /dev/null +++ b/srcpkgs/SPIRV-Tools-devel @@ -0,0 +1 @@ +SPIRV-Tools \ No newline at end of file diff --git a/srcpkgs/SPIRV-Tools/template b/srcpkgs/SPIRV-Tools/template new file mode 100644 index 00000000000..dced88aef8c --- /dev/null +++ b/srcpkgs/SPIRV-Tools/template @@ -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 " +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" + } +} \ No newline at end of file