summaryrefslogtreecommitdiff
path: root/user/qt5-qtquick3d/APKBUILD
blob: 5d6ad7fe495fcdafaf05ede2db08dbc2d006f8c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=qt5-qtquick3d
_pkgname=${pkgname#*-}-everywhere-src
pkgver=5.15.3_git20210605
pkgrel=0
_commit=3e3e53c834b25dc2959dd30f319d12d6f84ee1e3
pkgdesc="Qt5 Quick 3D provides a high-level API for creating 3D content and 3D user interfaces based on Qt Quick"
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 qt5-qtdeclarative-dev assimp-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="572d98b95cd16b68163c56d56ad34f670e21fe85053491d7c452999bc59cc3beb596e6699ff303e5cbbf93dd269e3dcfc97a98b351d14ec6d6f86e51a28eab49  qtquick3d-3e3e53c834b25dc2959dd30f319d12d6f84ee1e3.tar.gz"