extra/vulkan-tools to 1.0.57.0-1

This commit is contained in:
Kevin Mihelich 2017-09-04 16:48:34 +00:00
parent a0d20fd911
commit f1918e5280

View file

@ -6,7 +6,7 @@
pkgbase=vulkan-tools
pkgname=(vulkan-trace vulkan-extra-layers)
pkgver=1.0.51.0
pkgver=1.0.57.0
pkgrel=1
arch=(i686 x86_64)
url="http://lunarg.com/"
@ -14,12 +14,12 @@ license=('custom')
depends=()
makedepends=(git cmake wget python-lxml libxcb libxrandr imagemagick qt5-svg)
source=("vulkanTools-sdk-${pkgver}::https://github.com/LunarG/VulkanTools/archive/sdk-${pkgver}.tar.gz")
sha256sums=('af7babce80d4944d3cb895dfab3edb5371b213913668e7830e919e76bb847e9c')
sha256sums=('b169d6f36676d3f8c7ce74a4f1a844e94c6429b2663f0953b69153a474f19c57')
build() {
cd "${srcdir}/VulkanTools-sdk-${pkgver}"
./update_external_sources.sh --glslang --spirv-tools
./update_external_sources.sh --glslang --spirv-tools --jsoncpp
rm -rf build ; mkdir build ; cd build
cmake \
@ -50,10 +50,15 @@ package_vulkan-trace() {
install -dm755 ${pkgdir}/usr/{bin,lib}
install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
install -dm755 ${pkgdir}/usr/share/vulkan/explicit_layer.d
install -m755 build/vktrace/{vkreplay,vktrace}${suffix} ${pkgdir}/usr/bin/
install -m755 build/vktrace/vktraceviewer${suffix} ${pkgdir}/usr/bin/
install -m755 build/vktrace/libVkLayer_vktrace_layer${suffix}.so ${pkgdir}/usr/lib/
sed 's@../vktrace/libVkLayer_vktrace_layer.so@libVkLayer_vktrace_layer'${suffix}'.so@'\
vktrace/vktrace_layer/linux/VkLayer_vktrace_layer.json \
> ${pkgdir}/usr/share/vulkan/explicit_layer.d/VkLayer_vktrace_layer.json
install -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
}