Commit 58b0c145 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

testing/pure-maps: set offline profile as default and use vendored release

parent c4f93e39
......@@ -3,8 +3,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=pure-maps
pkgver=2.6.5
pkgrel=0
_commit_geomag="8eb9a730c8643fb7d63fdee4fd9a195ee8ba4df2"
pkgrel=1
pkgdesc="Maps and navigation"
url="https://github.com/rinigus/pure-maps"
# armhf blocked by mapbox-gl-qml -> qt5-qtdeclarative-dev
......@@ -40,19 +39,16 @@ makedepends="
"
checkdepends="py3-pytest"
subpackages="$pkgname-lang"
source="https://github.com/rinigus/pure-maps/archive/$pkgver/pure-maps-$pkgver.tar.gz
https://github.com/rinigus/geomag/archive/$_commit_geomag/geomag-$_commit_geomag.tar.gz
"
prepare() {
default_prepare
rmdir thirdparty/geomag
mv "$srcdir/geomag-$_commit_geomag" thirdparty/geomag
}
source="https://github.com/rinigus/pure-maps/releases/download/$pkgver/pure-maps-$pkgver.tar.gz"
build() {
qmake DEFAULT_BASEMAP=OpenCycleMap DEFAULT_ROUTER=OSRM FLAVOR=kirigami PREFIX=/usr
qmake \
PREFIX=/usr \
DEFAULT_BASEMAP="OSM Scout" \
DEFAULT_GEOCODER="osmscout" \
DEFAULT_GUIDE="osmscout" \
DEFAULT_ROUTER="osmscout" \
FLAVOR=kirigami
make
}
......@@ -76,5 +72,4 @@ lang() {
amove usr/share/pure-maps/translations
}
sha512sums="1c23992efd93c2e61359af3ad28e235e898aa6d1a8bb51f10c07d927e70f839958396ed0614c4994673a943b34a1952fd838b95a83004799c04ce9415f9a0aa5 pure-maps-2.6.5.tar.gz
13e11b6cb35162315deb86c6c6240a3555760397d7aa88ac9c3348d476e9e9547b03210134119c60790511489e3f2a13afb93a3c77d40b1258c664b6fcc0425c geomag-8eb9a730c8643fb7d63fdee4fd9a195ee8ba4df2.tar.gz"
sha512sums="343bace8db193d5854ba031c47503626b0b35132fa56b53437c4260a2baa8df11c93e9f99246b357bec30bc38aa7fe8e59b208acda2bcdaa2c28999a75cd1379 pure-maps-2.6.5.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment