blob: 2a14bcba118eb6f1645fbcd8be3c1510aa81f567 (
plain)
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
44
45
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=qt5-qtlocation
_pkgname=${pkgname/qt5-//}-everywhere-src
pkgver=5.12.5
_ver=${pkgver/_/-}
_ver=${_ver/beta0/beta}
_ver=${_ver/rc0/rc}
_v=${_ver/rc/RC}
pkgrel=2
pkgdesc="Qt5 - Location component"
url="https://www.qt.io/developers/"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
options="!check" # upstream does not provide check
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev icu-dev"
subpackages="$pkgname-dev"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtlocation-everywhere-src-$_v.tar.xz
fix-build.patch"
builddir="$srcdir/$_pkgname-${_v%-*}"
prepare() {
default_prepare
mkdir -p "$builddir"/build
}
build() {
cd "$builddir"/build
qmake-qt5 "CONFIG+=posix" ..
make
}
package() {
cd "$builddir"/build
make INSTALL_ROOT="$pkgdir" install
}
sha512sums="fe82194e4e6bc2a2e6e3c55e3360afdfd56a6495a8d87bfbdceb29255430954d4c1adc62f1f82e63b23778f0bf03b0a50d6f5d2a963bd786f2cf2fbed7450ccc qtlocation-everywhere-src-5.12.5.tar.xz
eb19b97909b64a82d75732872573b25c626c924aec93dbbe9b1b27fd72354149aa0c4e2d3727a5a2519a7bee39cb6af60761ad40e29b4e7adeb89a300a710505 fix-build.patch"
|