extra/vulkan-tools to 1.0.24.0-1

This commit is contained in:
Kevin Mihelich 2016-09-02 18:06:36 +00:00
parent d8c5a2f4c7
commit f2462f3c96

View file

@ -6,19 +6,18 @@
pkgbase=vulkan-tools pkgbase=vulkan-tools
pkgname=(vulkan-trace vulkan-extra-layers) pkgname=(vulkan-trace vulkan-extra-layers)
pkgver=1.0.21.0 pkgver=1.0.24.0
pkgrel=1 pkgrel=1
arch=(i686 x86_64) arch=(i686 x86_64)
url="http://lunarg.com/" url="http://lunarg.com/"
license=('custom') license=('custom')
depends=() depends=()
makedepends=(git cmake wget python-lxml libxcb imagemagick) makedepends=(git cmake wget python-lxml libxcb imagemagick)
#source=("https://github.com/LunarG/VulkanTools/archive/sdk-${pkgver}.tar.gz" source=("vulkanTools-sdk-${pkgver}::https://github.com/LunarG/VulkanTools/archive/sdk-${pkgver}.tar.gz"
source=("VulkanTools-sdk-1.0.21.0::git+https://github.com/LunarG/VulkanTools.git#commit=e0edb67f0642abbe95ccd351a410114f5961611c" 'git://github.com/KhronosGroup/glslang.git#commit=81cd764b5ffc475bc73f1fb35f75fd1171bb2343'
'git://github.com/KhronosGroup/glslang.git#commit=e4821e43c86d97bcf65fb07c1f70471b7102978d' 'git://github.com/KhronosGroup/SPIRV-Tools.git#commit=923a4596b44831a07060df45caacb522613730c9'
'git://github.com/KhronosGroup/SPIRV-Tools.git#commit=1a9385bbd0e6eae188c14302cf37c415ecc8b698' 'git://github.com/KhronosGroup/SPIRV-Headers#commit=33d41376d378761ed3a4c791fc4b647761897f26')
'git://github.com/KhronosGroup/SPIRV-Headers') sha256sums=('e7319a00d5f74e8e1995b29a9f6cb5b8ef4d6ff240ab10cd372429f7ef043a7a'
sha256sums=('SKIP'
'SKIP' 'SKIP'
'SKIP' 'SKIP'
'SKIP') 'SKIP')
@ -26,18 +25,6 @@ sha256sums=('SKIP'
build() { build() {
cd "${srcdir}/VulkanTools-sdk-${pkgver}" cd "${srcdir}/VulkanTools-sdk-${pkgver}"
pushd ${srcdir}/glslang
# Revert glslang a5c33d6ffb34ccede5b233bc724c907166b6e479
# See https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/681
git diff-index --quiet HEAD | true
rc=${PIPESTATUS[0]}
if (( $rc == 0 ))
then
echo "applying patch to revert glslang a5c33d"
git apply "${srcdir}/VulkanTools-sdk-${pkgver}"/glslang_revert_a5c33d.patch.txt
fi
popd
# reproduce some of the update_external_sources.sh script # reproduce some of the update_external_sources.sh script
rm -rf external && mkdir external && cd external rm -rf external && mkdir external && cd external
git clone ${srcdir}/glslang git clone ${srcdir}/glslang