aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt6-qtquick3d/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qt6-qtquick3d/APKBUILD')
-rw-r--r--community/qt6-qtquick3d/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/community/qt6-qtquick3d/APKBUILD b/community/qt6-qtquick3d/APKBUILD
new file mode 100644
index 0000000000..f667f8f55d
--- /dev/null
+++ b/community/qt6-qtquick3d/APKBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=qt6-qtquick3d
+pkgver=6.1.1
+pkgrel=0
+pkgdesc="Qt module and API for defining 3D content in Qt Quick"
+url="https://qt.io/"
+# s390x and mips64 build fails
+# Shader baking failed: Cannot resolve expression type.
+arch="all !s390x !mips64"
+license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
+depends_dev="
+ qt6-qtdeclarative-dev
+ qt6-qtshadertools-dev
+ vulkan-headers
+ "
+makedepends="$depends_dev
+ cmake
+ perl
+ "
+subpackages="$pkgname-dev"
+options="!check" # No tests
+builddir="$srcdir/qtquick3d-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/qtquick3d-everywhere-src-${pkgver/_/-}.tar.xz"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+
+sha512sums="
+7b744bf47dd162f8dcc2eac0e9928c28eafd55064b7b022e14a8f5a19789b1d37e0549c73a4029a8727c2ca5098e62f45216687d5c14c6166ba185709ecb9283 qtquick3d-everywhere-src-6.1.1.tar.xz
+"