sbcl 2.3.0 rebuild
[arch-packages.git] / qt6-3d / trunk / PKGBUILD
blobfed251ebdd211cb5cf872f7230c51dafe34e6418
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=qt6-3d
6 _qtver=6.4.1
7 pkgver=${_qtver/-/}
8 pkgrel=1
9 arch=(x86_64)
10 url='https://www.qt.io'
11 license=(GPL3 LGPL3 FDL custom)
12 pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics'
13 depends=(qt6-base)
14 makedepends=(cmake ninja qt6-declarative qt6-shadertools assimp)
15 optdepends=('qt6-shadertools: RHI renderer' 'qt6-declarative: QML bindings' 'assimp: assimp importer plugin')
16 groups=(qt6)
17 options=(debug)
18 _pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
19 source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
20 sha256sums=('e4b53243bea5d0b12a55fe28bb51451ea32a8dd424cf72a58b6d9b494087a498')
22 build() {
23   cmake -B build -S $_pkgfn -G Ninja \
24     -DCMAKE_MESSAGE_LOG_LEVEL=STATUS
25   cmake --build build
28 package() {
29   DESTDIR="$pkgdir" cmake --install build
31   install -d "$pkgdir"/usr/share/licenses
32   ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname