summaryrefslogtreecommitdiff
path: root/user/qt5-qtpositioning/APKBUILD
blob: 3b12b00e82967b7aeb55f705fc85c138a558699b (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.17
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-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="8ba1f386ce45201dbd3616a328ab256553c93da3bbb99fbe20b7b93419860f3a5612261258895e58b2621b8e05c8a841f3e9cb436384091e02e6a14b72a2be31  qtlocation-everywhere-opensource-src-5.15.17.tar.xz"