summaryrefslogtreecommitdiff
path: root/community/gpsdrive/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-19 00:01:52 +0000
committerroot <root@rshg054.dnsready.net>2012-07-19 00:01:52 +0000
commit6b87f8519dc037f4fd4c19d8f36b7d7565559bd3 (patch)
tree4c1b86f91ce9c742867b6eecd4857b20919cd713 /community/gpsdrive/PKGBUILD
parent63d179775e063452db6358e15b9847e7fc6c84b6 (diff)
Thu Jul 19 00:01:52 UTC 2012
Diffstat (limited to 'community/gpsdrive/PKGBUILD')
-rw-r--r--community/gpsdrive/PKGBUILD25
1 files changed, 10 insertions, 15 deletions
diff --git a/community/gpsdrive/PKGBUILD b/community/gpsdrive/PKGBUILD
index 86ceaa63a..ced1b0de5 100644
--- a/community/gpsdrive/PKGBUILD
+++ b/community/gpsdrive/PKGBUILD
@@ -1,25 +1,24 @@
-# $Id: PKGBUILD 67188 2012-03-05 08:57:37Z ibiru $
+# $Id: PKGBUILD 73996 2012-07-18 01:07:11Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: damir <damir@archlinux.org>
pkgname=gpsdrive
pkgver=2.11
-pkgrel=12
+_pkgver=20120711
+pkgrel=13
pkgdesc="A car (bike, ship, plane) navigation system"
arch=("i686" "x86_64")
url="http://www.gpsdrive.de/"
license=('GPL2')
depends=('gtk2' 'gpsd' 'libxml2' 'curl' 'python2' 'boost-libs' 'gdal' 'mapnik' 'postgresql-libs' 'openstreetmap-map-icons-svn'
'perl-date-manip' 'perl-timedate' 'perl-dbi' 'perl-file-slurp' 'perl-www-mechanize' 'perl-libwww' 'perl-uri'
- 'perl-text-query' 'perl-www-curl' 'perl-xml-parser' 'perl-xml-simple' 'perl-xml-twig' 'perl-xml-writer'
- ) # already in core ('sqlite3')
+ 'perl-text-query' 'perl-www-curl' 'perl-xml-parser' 'perl-xml-simple' 'perl-xml-twig' 'perl-xml-writer')
makedepends=('cmake>=2.4.4' 'boost' 'cfitsio')
install="gpsdrive.install"
-source=("http://www.gpsdrive.de/packages/${pkgname}-${pkgver}.tar.gz"
- "gpsd-2.96.patch")
-md5sums=('6eeeca8e5c647115bea836d1f8fb6e0c'
- '5769e12c6d8932fb721212434c64f505')
+#source=("http://www.gpsdrive.de/packages/${pkgname}-${pkgver}.tar.gz")
+source=("http://arch.p5n.pp.ru/~sergej/dl/2012/${pkgname}-${_pkgver}.tar.xz")
+md5sums=('48fe20e111c10d0826d9f05746c9cf74')
build() {
cd "$srcdir"
@@ -34,15 +33,12 @@ build() {
mkdir build
cd build
- # fix the mapnik default values
- sed -i 's|"/usr/lib/mapnik/0.7/input/"|"/usr/lib/mapnik/input/"|' "${srcdir}/gpsdrive-${pkgver}/src/gpsdrive_config.c"
- sed -i 's|"/usr/share/fonts/truetype/ttf-dejavu/"|"/usr/share/fonts/TTF/"|' "${srcdir}/gpsdrive-${pkgver}/src/gpsdrive_config.c"
+ sed -i 's|GdkGC \*kontext_map;|extern GdkGC *kontext_map;|' $srcdir/gpsdrive-${_pkgver}/src/gpsdrive.c
export CFLAGS=-I/usr/include/gdk-pixbuf-2.0/
export CPPFLAGS=-I/usr/include/gdk-pixbuf-2.0/
export CXXFLAGS=-I/usr/include/gdk-pixbuf-2.0/
- export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2"
- export LDFLAGS="`pkg-config --libs gtk+-2.0` -lboost_system -lboost_thread"
+ export LDFLAGS="`pkg-config --libs gtk+-2.0 gmodule-2.0` -lboost_system -lboost_thread"
# see DefineOptions.cmake for a list of common options and defaults
# cmake -L for a more in-depth listing
@@ -58,8 +54,7 @@ build() {
-DWITH_SPEECH=OFF \
-DWITH_DBUS=OFF \
-DLIBGPS_OLD=OFF \
- "$srcdir/gpsdrive-$pkgver"
- (cd "$srcdir/gpsdrive-$pkgver" && patch -p1 <$srcdir/gpsd-2.96.patch)
+ "$srcdir/gpsdrive-${_pkgver}"
make
}