summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/qt5-qt3d/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/qt5-qt3d/APKBUILD b/user/qt5-qt3d/APKBUILD
new file mode 100644
index 000000000..9bc10616e
--- /dev/null
+++ b/user/qt5-qt3d/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Zach van Rijn <me@zv.io>
+pkgname=qt5-qt3d
+_pkgname=${pkgname#*-}-everywhere-src
+pkgver=5.15.3_git20211126
+pkgrel=0
+_commit=dba14d48611b9e9d59576172658779ab4a39b416
+pkgdesc="Qt5 C++ and QML APIs for easy inclusion of 3D graphics"
+url="https://www.qt.io/"
+arch="all"
+license="LGPL-3.0-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only WITH Qt-GPL-exception-1.0"
+depends=""
+makedepends="qt5-qtbase-dev"
+subpackages="$pkgname-dev"
+source="https://invent.kde.org/qt/qt/${pkgname#*-}/-/archive/$_commit/${pkgname#*-}-$_commit.tar.gz"
+builddir="$srcdir"/${pkgname#*-}-$_commit
+
+prepare() {
+ default_prepare
+
+ # Make configure think we are running in a git directory
+ # This makes it symlink the include files to the right directory
+ mkdir .git
+}
+
+build() {
+ qmake
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make install INSTALL_ROOT="$pkgdir"
+}
+
+sha512sums="eb61c94c5438c9e68253958c0fcc60ec7592916e7fc08f723a4218bc24ce5536b25df5f46c97fd86ed19de2b0851a31779fbfdb7c23c70323338a98bbc77a650 qt3d-dba14d48611b9e9d59576172658779ab4a39b416.tar.gz"