Commit ef86ddc0 authored by Bart Ribbers's avatar Bart Ribbers

testing/pure-maps: upgrade to 2.7.1

parent 0b9c3720
Pipeline #78434 canceled with stages
in 18 seconds
......@@ -2,8 +2,8 @@
# Contributor: Newbyte <newbytee@protonmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=pure-maps
pkgver=2.6.5
pkgrel=1
pkgver=2.7.1
pkgrel=0
pkgdesc="Maps and navigation"
url="https://github.com/rinigus/pure-maps"
# armhf blocked by mapbox-gl-qml -> qt5-qtdeclarative-dev
......@@ -27,6 +27,7 @@ depends="
qt5-qtsensors
"
makedepends="
cmake
gettext
py3-pyflakes
python3
......@@ -42,14 +43,12 @@ subpackages="$pkgname-lang"
source="https://github.com/rinigus/pure-maps/releases/download/$pkgver/pure-maps-$pkgver.tar.gz"
build() {
qmake \
PREFIX=/usr \
DEFAULT_BASEMAP="OSM Scout" \
DEFAULT_GEOCODER="osmscout" \
DEFAULT_GUIDE="osmscout" \
DEFAULT_ROUTER="osmscout" \
FLAVOR=kirigami
make
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DFLAVOR="kirigami" \
-DDEFAULT_PROFILE="offline"
cmake --build build
}
check() {
......@@ -59,7 +58,7 @@ check() {
}
package() {
INSTALL_ROOT="$pkgdir" make install
DESTDIR="$pkgdir" cmake --install build
# Locales get installed to the wrong location and thus have to be moved
# to get picked up by abuild lang()
......@@ -72,4 +71,4 @@ lang() {
amove usr/share/pure-maps/translations
}
sha512sums="343bace8db193d5854ba031c47503626b0b35132fa56b53437c4260a2baa8df11c93e9f99246b357bec30bc38aa7fe8e59b208acda2bcdaa2c28999a75cd1379 pure-maps-2.6.5.tar.gz"
sha512sums="26806b3a6a7131baaf3d418d1d27602752244398b88f15833ce68b2bbcdb042b9dc895c864fde8a6dc7b959996dd0037ccdeaed137005d1e2ab00970457dc2d8 pure-maps-2.7.1.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