[arch-commits] Commit in navit/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Aug 5 13:05:49 UTC 2020


    Date: Wednesday, August 5, 2020 @ 13:05:48
  Author: arojas
Revision: 669451

gpsd 3.21 rebuild

Modified:
  navit/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-05 13:04:28 UTC (rev 669450)
+++ PKGBUILD	2020-08-05 13:05:48 UTC (rev 669451)
@@ -6,20 +6,27 @@
 
 pkgname=navit
 pkgver=0.5.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Modular turn-by-turn car navigation system"
 arch=('x86_64')
 url="https://www.navit-project.org/"
 license=('GPL')
 depends=('dbus-glib' 'gpsd' 'gtk2' 'imlib2' 'sdl_image')
-makedepends=('cmake' 'libxslt')
+makedepends=('cmake' 'libxslt' 'git')
 install=$pkgname.install
-source=($pkgname-$pkgver.tar.gz::https://github.com/navit-gps/navit/archive/v$pkgver.tar.gz)
-sha256sums=('728d9dcad00e97769f6cd85bfad5518b0edf62ef75d60543fa4c48c1c3ab1243')
+source=($pkgname-$pkgver.tar.gz::https://github.com/navit-gps/navit/archive/v$pkgver.tar.gz
+        navit-librsvg-2.47.patch::"https://github.com/navit-gps/navit/commit/a66b662f.patch"
+        navit-gpsd-3.21.patch::"https://github.com/navit-gps/navit/commit/06c5969f.patch")
+sha256sums=('728d9dcad00e97769f6cd85bfad5518b0edf62ef75d60543fa4c48c1c3ab1243'
+            '041c6db298d67f40799882498052741807be5540f7e139b318bc9927b90c8ef2'
+            '697a269cbac7ca426bceb53f45885b5db7216fbfb20b20e72f350035fad0c27c')
 
 prepare() {
   cd $pkgname-$pkgver
   sed -i 's/lib64/lib/' CMakeLists.txt 
+
+  git apply ../navit-librsvg-2.47.patch # Fix build with librsvg 2.47
+  patch -p1 -i ../navit-gpsd-3.21.patch # Fix build with gpsd 3.21
 }
 
 build() {


More information about the arch-commits mailing list