# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=vulkan-loader _pkgname=Vulkan-Loader pkgver=1.2.135 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 python3 libx11-dev wayland-dev libxrandr-dev" source="vulkan-loader-$pkgver.tar.gz::https://github.com/khronosgroup/vulkan-loader/archive/v$pkgver.tar.gz" subpackages="$pkgname-dev" options="!check" # No tests builddir="$srcdir/$_pkgname-$pkgver" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -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 make -C build } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="cd0092761fed30c830872ee7d5b923996047ac5fcd4e3ba7f5e5f02f36c31a17f93a4acf2b2a5f42e3b956a9769427730b6974f745697a2c871e1582afec7284 vulkan-loader-1.2.135.tar.gz"