# Contributor: Bart Ribbers # Contributor: Simon Zeni # Maintainer: Bart Ribbers pkgname=vulkan-loader _pkgname=Vulkan-Loader pkgver=1.3.250.1 pkgrel=0 arch="all" url="https://www.khronos.org/vulkan" pkgdesc="Vulkan Installable Client Driver (ICD) Loader" license="Apache-2.0" depends_dev="vulkan-headers" makedepends="$depends_dev cmake libx11-dev libxrandr-dev python3 samurai wayland-dev " source="https://github.com/khronosgroup/vulkan-loader/archive/refs/tags/sdk-$pkgver/vulkan-loader-sdk-$pkgver.tar.gz" subpackages="$pkgname-dbg $pkgname-dev" builddir="$srcdir/$_pkgname-sdk-$pkgver" options="!check" # No tests build() { CXXFLAGS="$CXXFLAGS -flto=auto" \ cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_SYSCONFDIR=/etc \ -DCMAKE_INSTALL_DATADIR=share \ -DCMAKE_SKIP_RPATH=True \ -DVULKAN_HEADERS_INSTALL_DIR=/usr cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 5aaa826890e0dc8b9504f99ca9b25e13116040f790660b8f1e0bf496e977f879b880c25e263c4d541fe52ab7177eabed4d289ef359a494a668fd2911ab057453 vulkan-loader-sdk-1.3.250.1.tar.gz "