extra/vulkan-tools to 1.2.137-1

This commit is contained in:
Kevin Mihelich 2020-05-09 06:54:28 +00:00
parent 0d4ac14bc6
commit e16925e7a3

View file

@ -4,7 +4,7 @@
# - cmake with -DBUILD_CUBE=OFF
pkgname=vulkan-tools
pkgver=1.2.135
pkgver=1.2.137
pkgrel=1
arch=(x86_64)
url="https://www.khronos.org/vulkan/"
@ -12,15 +12,16 @@ pkgdesc="Vulkan Utilities and Tools"
license=('custom')
depends=(gcc-libs libxcb vulkan-icd-loader)
makedepends=(git cmake python vulkan-headers libx11 wayland)
source=("https://github.com/KhronosGroup/Vulkan-Tools/archive/v${pkgver}.tar.gz")
#source=("git+https://github.com/KhronosGroup/Vulkan-Tools.git#commit=534747d770a84a18a20949430679aa1b7bf0f398")
sha256sums=('6b497194fb2e06e41a9ab8c404ea3c82cca1fc1e0c540ffcd2905b9bebef5e84')
source=("https://github.com/KhronosGroup/Vulkan-Tools/archive/v${pkgver}.tar.gz"
0001-cube-Remove-dependency-on-VK_DYNAMIC_STATE_RANGE_SIZ.patch)
sha256sums=('4b9e0aab8e873282a7163b3e9966928188c06697002f8f1ce0c567a06a1b5fda'
'8da2ac049c5e7d1253e5b55fa9ef0c1f670d17b6a0785561de5edc12e9c9d7a6')
#pkgver() {
# cd "${srcdir}"/Vulkan-Tools*
#
# echo 1.1.97.0+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
#}
prepare() {
cd "${srcdir}"/Vulkan-Tools*
patch -Np1 -i ../0001-cube-Remove-dependency-on-VK_DYNAMIC_STATE_RANGE_SIZ.patch
}
build() {
cd "${srcdir}"/Vulkan-Tools*