Browse Source

gis/osgEarth: Updated for version 2.9 + new maintainer

Signed-off-by: Christoph Willing <chris.willing@linux.com>
pull/47/head
Christoph Willing 8 years ago
committed by Willy Sudiarto Raharjo
parent
commit
bfea8b8bfc
  1. 3
      gis/osgEarth/README
  2. 9
      gis/osgEarth/osgEarth.SlackBuild
  3. 10
      gis/osgEarth/osgEarth.info

3
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.

9
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

10
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"
Loading…
Cancel
Save