summaryrefslogtreecommitdiffstats
path: root/gis
diff options
context:
space:
mode:
author Christoph Willing <chris.willing@linux.com>2018-05-25 14:40:24 +1000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-05-26 06:59:28 +0700
commitbfea8b8bfc4be4927578c4daf25907c0163ca3c1 (patch)
treee8fad3530543aa4da216e1418e939c07ec032b8c /gis
parent5ba53c12e0f1b143afa1295c52da43c9f2cfbd4f (diff)
downloadslackbuilds-bfea8b8bfc4be4927578c4daf25907c0163ca3c1.tar.gz
slackbuilds-bfea8b8bfc4be4927578c4daf25907c0163ca3c1.tar.xz
gis/osgEarth: Updated for version 2.9 + new maintainer
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'gis')
-rw-r--r--gis/osgEarth/README3
-rw-r--r--gis/osgEarth/osgEarth.SlackBuild9
-rw-r--r--gis/osgEarth/osgEarth.info10
3 files changed, 11 insertions, 11 deletions
diff --git a/gis/osgEarth/README b/gis/osgEarth/README
index cd087079f6..ba1b2a6b46 100644
--- a/gis/osgEarth/README
+++ b/gis/osgEarth/README
@@ -4,3 +4,6 @@ OpenSceneGraph application, and go!
osgEarth supports all kinds of data and comes with lots of examples to help you
get up and running quickly and easily.
+
+Optional requirements protobuf and rocksdb are recommended for enhanced
+performance. They will be used if detected when osgEarth is built.
diff --git a/gis/osgEarth/osgEarth.SlackBuild b/gis/osgEarth/osgEarth.SlackBuild
index fd1e04a158..2677c42388 100644
--- a/gis/osgEarth/osgEarth.SlackBuild
+++ b/gis/osgEarth/osgEarth.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for osgEarth
# Copyright 2012 Alexander Bruy <alexander.bruy@gmail.com>
+# Copyright 2018 Christoph Willing, Brisbane Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +25,7 @@
PRGNAM=osgEarth
SRCNAM=osgearth
-VERSION=${VERSION:-2.8}
+VERSION=${VERSION:-2.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +63,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+cd $SRCNAM-$SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,16 +71,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# https://github.com/gwaldron/osgearth/pull/848
-patch -p1 < $CWD/geos-3_6_1-support.patch
-
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lX11" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release .. \
-DDYNAMIC_OSGEARTH=ON
make
diff --git a/gis/osgEarth/osgEarth.info b/gis/osgEarth/osgEarth.info
index f183d02e6b..d84fcea427 100644
--- a/gis/osgEarth/osgEarth.info
+++ b/gis/osgEarth/osgEarth.info
@@ -1,10 +1,10 @@
PRGNAM="osgEarth"
-VERSION="2.8"
+VERSION="2.9"
HOMEPAGE="http://osgearth.org/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/osgearth-2.8.tar.gz"
-MD5SUM="4058576473bf3e6cbdf449a55d7f36f8"
+DOWNLOAD="https://github.com/gwaldron/osgearth/archive/osgearth-2.9.tar.gz"
+MD5SUM="87d0ce80a9bb5c8b8ce4ae7b5b257c52"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="OpenSceneGraph gdal"
-MAINTAINER="Alexander Bruy"
-EMAIL="alexander.bruy@gmail.com"
+MAINTAINER="Christoph Willing"
+EMAIL="chris.willing@linux.com"