navit: update to 0.5.1.

Closes #14669.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
John 2018-05-23 23:11:00 +02:00 committed by Enno Boland
parent cadfe38c6a
commit 20242591fb

View file

@ -1,12 +1,10 @@
# Template file for 'navit'
pkgname=navit
version=0.5.1+rc1
version=0.5.1
revision=1
_ver="${version/+/-}"
wrksrc="${pkgname}-${_ver}"
build_style=cmake
configure_args="-DLIBDIR=lib/navit -Wno-dev"
hostmakedepends="pkg-config qt5-host-tools"
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
makedepends="SDL-devel qt5-devel gpsd-devel imlib2-devel dbus-glib-devel
fontconfig-devel zlib-devel libpng-devel qt5-declarative-devel qt5-svg-devel
qt5-location-devel SDL_ttf-devel SDL_image-devel libfreeglut-devel gtk+-devel
@ -14,11 +12,11 @@ makedepends="SDL-devel qt5-devel gpsd-devel imlib2-devel dbus-glib-devel
python3-devel"
short_desc="Turn-by-turn Navigation Software"
maintainer="Toyam Cox <Vaelatern@Voidlinux.eu>"
license="GPL-2"
license="GPL-2.0-only, LGPL-2.0-only"
homepage="http://www.navit-project.org/"
distfiles="https://github.com/navit-gps/navit/archive/v${_ver}.tar.gz"
checksum=c15f1dd35fd949378ac69c9ba26808c9eafb548eed22f9655bcb3e2ed4fa8944
distfiles="https://github.com/navit-gps/navit/archive/v${version}.tar.gz"
checksum=251f17e10509f782798eeb1bb9f8085d4356742d00dde5a354a41a508f54ec27
pre_configure() {
sed -i -e 's/\(GET_FILENAME_COMPONENT (LIB_DIR ${LIBDIR}\) NAME/\1 DIRECTORY/' CMakeLists.txt
sed -i -e 's/\(GET_FILENAME_COMPONENT (LIB_DIR ${LIBDIR}\) NAME/\1 DIRECTORY/' CMakeLists.txt
}