aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt6-qtdatavis3d/APKBUILD
blob: 411be5ff055b5ad84d75f0d446ffd17929ef6c23 (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
39
40
41
42
43
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt6-qtdatavis3d
pkgver=6.2.0
pkgrel=0
pkgdesc="Qt6 Data Visualization module"
url="https://qt.io/"
# s390x blocked by qt6-qtdeclarative
arch="all !s390x"
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
depends_dev="
	qt6-qtbase-dev
	qt6-qtdeclarative-dev
	"
makedepends="$depends_dev
	cmake
	perl
	"
subpackages="$pkgname-dev"
options="!check" # No tests
builddir="$srcdir/qtdatavis3d-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/qtdatavis3d-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="
a5468c48f36168e09955a8838753349ec39dc077727e20c86dfd16f5ee10b86fb70715db22ccf193f9c5756112d96af21e0f6047f90e0e7edb1fa4108d3df677  qtdatavis3d-everywhere-src-6.2.0.tar.xz
"