extra/vulkan-lunarg-tools to 1.1.97.0+10340+118b2f331-1

This commit is contained in:
Kevin Mihelich 2019-02-16 16:08:56 +00:00
parent 29b6de2cb8
commit a5f82964e0

View file

@ -6,14 +6,14 @@
pkgbase=vulkan-lunarg-tools
pkgname=(vulkan-trace vulkan-extra-layers)
pkgver=1.1.92+10300+d76295924
pkgver=1.1.97.0+10340+118b2f331
pkgrel=1
arch=(x86_64)
url="http://lunarg.com/"
license=('custom')
depends=()
makedepends=(git cmake python vulkan-headers vulkan-validation-layers vulkan-icd-loader glslang spirv-tools libx11 libxrandr wayland qt5-svg)
source=("VulkanLunargTools::git+https://github.com/LunarG/VulkanTools.git#commit=d7629592480d552048ab29a6a4aefe72563c29f5")
source=("VulkanLunargTools::git+https://github.com/LunarG/VulkanTools.git#commit=118b2f331839820636539390cdc777ef9e70391f")
sha256sums=('SKIP')
_install() {
@ -29,7 +29,7 @@ _install() {
pkgver() {
cd "${srcdir}/VulkanLunargTools"
echo 1.1.92+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
echo 1.1.97.0+$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)
}
prepare() {
@ -56,7 +56,6 @@ build() {
-DBUILD_WSI_XCB_SUPPORT=On \
-DBUILD_WSI_XLIB_SUPPORT=On \
-DBUILD_WSI_WAYLAND_SUPPORT=On \
-DBUILD_WSI_MIR_SUPPORT=Off \
-DBUILD_TESTS=OFF \
-DBUILD_VIA=OFF \
-DCMAKE_BUILD_TYPE=Release \
@ -74,6 +73,7 @@ package_vulkan-trace() {
_install fakeinstall/usr/bin/*
_install fakeinstall/usr/lib/libVkLayer_vktrace_layer${suffix}.so
_install fakeinstall/usr/lib/libvkdisplay_*.so
_install fakeinstall/etc/vulkan/explicit_layer.d/VkLayer_vktrace_layer.json
install -dm755 ${pkgdir}/usr/share/{doc,licenses}/${pkgname}