summaryrefslogtreecommitdiff
path: root/user/qt5-qt3d/APKBUILD
blob: 9bc10616ea560ba491857693d4af35d196e866eb (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-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"