aboutsummaryrefslogtreecommitdiff
path: root/gis/viking
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-04-03 12:11:15 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-05 08:38:20 +0700
commit0c2f780383a40b02618c618f8539454ecbb24df0 (patch)
tree6dcdba0e50e83231af2d0f1afdd77f931548f0d8 /gis/viking
parentda1d693b7d84e82d70008ac7bd1ea3c9faa7eb81 (diff)
gis/viking: Updated for version 1.6.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'gis/viking')
-rw-r--r--gis/viking/README5
-rw-r--r--gis/viking/viking.SlackBuild15
-rw-r--r--gis/viking/viking.info8
3 files changed, 22 insertions, 6 deletions
diff --git a/gis/viking/README b/gis/viking/README
index 4e4a33961ebe..0d61f4f7676e 100644
--- a/gis/viking/README
+++ b/gis/viking/README
@@ -2,3 +2,8 @@ Viking is a free/open source program to manage GPS data. You can import
and plot tracks and waypoints, show Terraserver maps under it, add
coordinate lines, make new tracks and waypoints, hide different things,
etc. It is written in C with the GTK+ 2.
+
+The following options can be enabled (by default, they are disabled):
+
+MAPNIK=yes for rendering with Mapnik (requires mapnik)
+GEOCACHES=yes for geocaches acquire
diff --git a/gis/viking/viking.SlackBuild b/gis/viking/viking.SlackBuild
index 26ee119d747f..f06defd217cd 100644
--- a/gis/viking/viking.SlackBuild
+++ b/gis/viking/viking.SlackBuild
@@ -25,7 +25,7 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
PRGNAM=viking
-VERSION=${VERSION:-1.5.1}
+VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,7 +69,16 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+OPT_MAPNIK='--disable-mapnik'
+if [ ${MAPNIK:-no} = "yes" ]; then
+ OPT_MAPNIK="--enable-mapnik"
+fi
+OPT_GEOCACHES='--disable-geocaches'
+if [ ${GEOCACHES:-no} = "yes" ]; then
+ OPT_GEOCACHES="--enable-geocaches"
+fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -81,6 +90,8 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--disable-scrollkeeper \
+ $OPT_MAPNIK \
+ $OPT_GEOCACHES \
--build=$ARCH-slackware-linux
make
diff --git a/gis/viking/viking.info b/gis/viking/viking.info
index df993112603a..e055a3b74208 100644
--- a/gis/viking/viking.info
+++ b/gis/viking/viking.info
@@ -1,10 +1,10 @@
PRGNAM="viking"
-VERSION="1.5.1"
+VERSION="1.6"
HOMEPAGE="http://sourceforge.net/projects/viking/"
-DOWNLOAD="http://downloads.sourceforge.net/viking/viking-1.5.1.tar.bz2"
-MD5SUM="61ec920d331a4c24316d17f0954c5349"
+DOWNLOAD="http://downloads.sourceforge.net/viking/viking-1.6.tar.bz2"
+MD5SUM="ffbebeb67d83d78ba8650f4bf8b6fc4f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gpsd"
+REQUIRES="gpsd libgexiv2"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"