Date: Tuesday, October 6, 2020 @ 18:15:14 Author: arojas Revision: 397420
Initial Qt6 packages Added: qt6-3d/ qt6-3d/kde-unstable/ qt6-3d/kde-unstable/PKGBUILD ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Added: qt6-3d/kde-unstable/PKGBUILD =================================================================== --- qt6-3d/kde-unstable/PKGBUILD (rev 0) +++ qt6-3d/kde-unstable/PKGBUILD 2020-10-06 18:15:14 UTC (rev 397420) @@ -0,0 +1,31 @@ +# Maintainer: Antonio Rojas <[email protected]> +# Maintainer: Felix Yan <[email protected]> +# Contributor: Andrea Scarpino <[email protected]> + +pkgname=qt6-3d +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(x86_64) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics' +depends=(qt6-declarative) +makedepends=(cmake qt6-shadertools vulkan-headers assimp) +optdepends=('assimp: assimp importer' 'qt6-shadertools: RHI renderer') +groups=(qt6) +_pkgfn="${pkgname/6-/}-everywhere-src-${_qtver}" +source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz") +sha256sums=('3362d01c7542af0e902908d2d339374feda1a037552ea625b900278982375c27') + +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 +}
