Date: Tuesday, October 6, 2020 @ 18:04:23 Author: arojas Revision: 397411
Initial Qt6 packages Added: qt6-shadertools/ qt6-shadertools/kde-unstable/ qt6-shadertools/kde-unstable/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Added: qt6-shadertools/kde-unstable/PKGBUILD =================================================================== --- qt6-shadertools/kde-unstable/PKGBUILD (rev 0) +++ qt6-shadertools/kde-unstable/PKGBUILD 2020-10-06 18:04:23 UTC (rev 397411) @@ -0,0 +1,30 @@ +# Maintainer: Antonio Rojas <[email protected]> +# Maintainer: Felix Yan <[email protected]> +# Contributor: Andrea Scarpino <[email protected]> + +pkgname=qt6-shadertools +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(x86_64) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Experimental module providing APIs and a host tool to host tool to perform graphics and compute shader conditioning for the upcoming Qt graphics abstraction layer' +depends=(qt6-base) +makedepends=(cmake vulkan-headers) +groups=(qt6) +_pkgfn="${pkgname/6-/}-everywhere-src-${_qtver}" +source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz") +sha256sums=('7607174fa298632887dc4571bead66fe519ebe98dd92b5264ac42ab71e0cfb2d') + +build() { + cmake -B build -S $_pkgfn + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname +}
