summaryrefslogblamecommitdiff
path: root/user/qt5-qtpositioning/APKBUILD
blob: cb8d4c12983cb047f2c85d7b134c0ad8b9ba3ecc (plain) (tree)
1
2
3
4
5
6
7
8






                                                  
                        




























                                                                                                                                                                                    
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtpositioning
_pkgname=qtlocation-opensource-src
pkgver=5.9.6
pkgrel=0
pkgdesc="Qt 5 - Geolocation services"
url="https://www.qt.io/"
arch="all"
options="!check"
license="LGPLv2 with exceptions OR GPLv3 with exceptions"
depends=""
makedepends="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() {
	cd "$builddir"
	qmake
	# too memory hungry
	if [ -z "$JOBS" -o $JOBS -gt 16 ]; then
		make -j16
	else
		make
	fi
}

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

sha512sums="63071f88b6b742701a0f26a11edb20e50a7a9f158c8a79dcdfd39668197963e5d505a1de828acad273ebc54f15f51fa1089ed03953cc46ca9c68ddad647ac06a  qtlocation-opensource-src-5.9.6.tar.xz
8590335ae90ade1c685ff99fb4319d1b7448d2ae15ba999e3dc9a29e62eda3db587d8ee366dc68fad6eb9e0872532d50f0bdc74f4689a554ca095ad24967418c  no-getting-thread-names.patch"