# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=vulkan-tools _pkgname=Vulkan-Tools pkgver=1.1.112 pkgrel=0 arch="all" url="https://www.khronos.org/vulkan" pkgdesc="Vulkan Utilities and Tools" license="Apache-2.0" depends="vulkan-loader" makedepends="cmake python3 libx11-dev wayland-dev vulkan-headers vulkan-loader-dev glslang-dev libxrandr-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/khronosgroup/$pkgname/archive/v$pkgver.tar.gz" options="!check" # No tests builddir="$srcdir/$_pkgname-$pkgver" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -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 make } package() { DESTDIR="$pkgdir" make install } sha512sums="adc89c20951d86f8b017e9668588b87891a23e5a5a34ebb5cfda0701a2e37f198c979f7a48a7003001ecf8b158f0b9dfd5b00d73487a81ece996dfe632829795 vulkan-tools-1.1.112.tar.gz"