# Contributor: Bart Ribbers # Contributor: Simon Zeni # Maintainer: Bart Ribbers pkgname=vulkan-tools _pkgname=Vulkan-Tools pkgver=1.3.250.1 pkgrel=0 arch="all" url="https://www.khronos.org/vulkan" pkgdesc="Vulkan Utilities and Tools" license="Apache-2.0" makedepends=" cmake glslang-dev libx11-dev libxrandr-dev python3 samurai vulkan-headers vulkan-loader-dev wayland-dev wayland-protocols-dev " source="https://github.com/KhronosGroup/Vulkan-Tools/archive/refs/tags/sdk-$pkgver/vulkan-tools-sdk-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-sdk-$pkgver" options="!check" # No tests build() { CXXFLAGS="$CXXFLAGS -flto=auto" \ cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_SYSCONFDIR=/etc \ -DCMAKE_INSTALL_DATADIR=/usr/share \ -DCMAKE_SKIP_RPATH=True \ -DBUILD_CUBE=ON \ -DBUILD_VULKANINFO=ON \ -DGLSLANG_INSTALL_DIR=/usr cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" ebeb723f34acb842db324a9ccabae843c41423ec27aaac0dc20baeee6a8833d4712762e25ff77d97e306912ec19b78e0e906a71394de2bfb401a845bbe61eadf vulkan-tools-sdk-1.3.250.1.tar.gz "