summaryrefslogtreecommitdiff
path: root/user/qt5-qtpositioning/APKBUILD
blob: 47b957554caa1434a543d7e962642d6ed1551100 (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtpositioning
_pkgname=qtlocation-everywhere-src
pkgver=5.12.6
pkgrel=0
pkgdesc="Geolocation services for Qt 5"
url="https://www.qt.io/"
arch="all"
options="!check"
license="LGPL-3.0-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only WITH Qt-GPL-exception-1.0"
depends=""
makedepends="icu-dev qt5-qtbase-dev"
subpackages="$pkgname-dev"
source="https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/$_pkgname-$pkgver.tar.xz
	no-getting-thread-names.patch
	"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	qmake
	# too memory hungry
	if [ -z "$JOBS" ] || [ $JOBS -gt 16 ]; then
		make -j16
	else
		make
	fi
}

package() {
	make install INSTALL_ROOT="$pkgdir"
}

sha512sums="89fa4ea878331423dba90dd3bad7340991b7b24b66b2b1947f53d3a7fe0bdc6465a5cd085d25c6fa0018be5d0931ddb5da021c0c3eb6b5f5eddd5499641b4b4b  qtlocation-everywhere-src-5.12.6.tar.xz
8590335ae90ade1c685ff99fb4319d1b7448d2ae15ba999e3dc9a29e62eda3db587d8ee366dc68fad6eb9e0872532d50f0bdc74f4689a554ca095ad24967418c  no-getting-thread-names.patch"