extra/vulkan-tools to 1.0.68.0-1

This commit is contained in:
Kevin Mihelich 2018-02-11 16:57:40 +00:00
parent f2559f383d
commit 9d8180220b

View file

@ -6,20 +6,32 @@
pkgbase=vulkan-tools pkgbase=vulkan-tools
pkgname=(vulkan-trace vulkan-extra-layers) pkgname=(vulkan-trace vulkan-extra-layers)
pkgver=1.0.61.0 pkgver=1.0.68.0
pkgrel=1 pkgrel=1
arch=(i686 x86_64) arch=(x86_64)
url="http://lunarg.com/" url="http://lunarg.com/"
license=('custom') license=('custom')
depends=() depends=()
makedepends=(git cmake wget python-lxml libxcb libxrandr imagemagick qt5-svg) 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") source=("vulkanTools-sdk-${pkgver}::https://github.com/LunarG/VulkanTools/archive/sdk-${pkgver}.tar.gz"
sha256sums=('f75c5f7cf278e7e2a87c77ac80816639c59269debd4cd796b801cc04be6480e1') 'git://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git#commit=65c23aec1365c0a727323af6f331b0773b4fc1de'
'git://github.com/open-source-parsers/jsoncpp.git#commit=f700fe455940d4d325c088b9174a173e130e0fa8')
sha256sums=('6b7dc25aa83bec85670c00babd8c95dceabe4f7f1a9797724fced76fccb6f7f4'
'SKIP'
'SKIP')
build() { build() {
cd "${srcdir}/VulkanTools-sdk-${pkgver}" cd "${srcdir}/VulkanTools-sdk-${pkgver}"
./update_external_sources.sh --glslang --spirv-tools --jsoncpp # broken with 1.0.68.0 release
pushd submodules
git clone ${srcdir}/Vulkan-LoaderAndValidationLayers
git clone ${srcdir}/jsoncpp
cd "${srcdir}/VulkanTools-sdk-${pkgver}"/submodules/jsoncpp
python amalgamate.py
cd "${srcdir}/VulkanTools-sdk-${pkgver}"/submodules/Vulkan-LoaderAndValidationLayers
./update_external_sources.sh "$@"
popd
rm -rf build ; mkdir build ; cd build rm -rf build ; mkdir build ; cd build
cmake \ cmake \