blob: e5660f29104034b6e2596e3e69c318d4ab867888 (
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=0
pkgdesc="Qt5 - Location component"
url="http://qt-project.org/"
arch="all"
license="LGPL-2.0 with exceptions or GPL-3.0 with exceptions"
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="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/$_pkgname-$_V.tar.xz
fix-build.patch"
builddir="$srcdir"/$_pkgname-${_V%-*}
prepare() {
default_prepare
cd "$builddir"
mkdir -p 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"
|