summaryrefslogtreecommitdiff
path: root/user/qt5-qtdatavis3d/APKBUILD
blob: e7e0c81425f9bc1b66121977cda2409d2b862900 (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-qtdatavis3d
_pkgname=${pkgname#*-}-everywhere-src
pkgver=5.15.3_git20201027
pkgrel=0
_commit=c085311c02dd216e5a041b90c164d55b3cf3ce92
pkgdesc="Qt5 Data Visualization module provides a way to visualize data in 3D as bar, scatter, and surface graphs"
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="f33a674f7c56627fcbffa3527f968c59c74983a2c7d4ce3ce3724432367abd0a7feb4bfaa5864b01f5639a40a2569e5bc861b0a35966e6aeb7570ffde7782681  qtdatavis3d-c085311c02dd216e5a041b90c164d55b3cf3ce92.tar.gz"