summaryrefslogtreecommitdiff
path: root/user/qt5-qtpositioning/APKBUILD
blob: e81ddef81b9d48fc5a5acde5b1434b3eb42f3a10 (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtpositioning
_pkgname=qtlocation-everywhere
pkgver=5.15.4
pkgrel=1
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-opensource-src-$pkgver.tar.xz"
builddir="$srcdir"/$_pkgname-src-$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="6208052d6ac173d19dc77496d8108558e7f31696dc5792fcbbeef2029539db76a60c5a51a7d198f54ea6c0ec23977a57cd8c8f8fa80fe5eac9528d2510c3dbb3  qtlocation-everywhere-opensource-src-5.15.4.tar.xz"