# Maintainer: Bart Ribbers pkgname=qt6-qtshadertools pkgver=6.5.2 pkgrel=0 pkgdesc="Experimental module providing APIs and a host tool to host tool to perform graphics and compute shader conditioning" url="https://qt.io/" arch="all" license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0" depends_dev=" qt6-qtbase-dev vulkan-headers " makedepends="$depends_dev cmake perl samurai " subpackages="$pkgname-dev" options="!check" # No tests builddir="$srcdir/qtshadertools-everywhere-src-${pkgver/_/-}" case $pkgver in *_alpha*|*_beta*|*_rc*) _rel=development_releases;; *) _rel=official_releases;; esac source="https://download.qt.io/$_rel/qt/${pkgver%.*}/${pkgver/_/-}/submodules/qtshadertools-everywhere-src-${pkgver/_/-}.tar.xz " build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 95a697de1e0b415b700edc86c452847f37478951c547fad42c8373c592a1f474b824df7c2d1ae3b26fb9401df3c523431633e0293f5e472732964cb527def6be qtshadertools-everywhere-src-6.5.2.tar.xz "