libraries/OpenSceneGraph: Hide OpenCASCADE support (until 3.5.6)

Signed-off-by: Christoph Willing <chris.willing@linux.com>
This commit is contained in:
Christoph Willing 2018-05-30 15:31:37 +10:00 committed by Willy Sudiarto Raharjo
parent 7d48e6d17d
commit 6b23339e21
3 changed files with 14 additions and 9 deletions

View File

@ -8,7 +8,7 @@
PRGNAM=OpenSceneGraph
VERSION=${VERSION:-3.5.5}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -39,16 +39,18 @@ else
fi
# Support OpenCASCADE, if installed
occ=""; ls -l /var/log/packages/OpenCASCADE* 2>/dev/null 1>/dev/null
[ $? -eq 0 ] && occ="-DOPENCASCADE_INCLUDE_DIR=/opt/OpenCASCADE/inc -DOPENCASCADE_LIBRARY_TYPE=Shared"
occ=""
# Not supported until version 3.5.6
#ls -l /var/log/packages/OpenCASCADE* 2>/dev/null 1>/dev/null
#[ $? -eq 0 ] && occ="-DOPENCASCADE_INCLUDE_DIR=/opt/OpenCASCADE/inc -DOPENCASCADE_LIBRARY_TYPE=Shared"
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xf $CWD/$PRGNAM-$VERSION.tar.gz
rm -rf $PRGNAM-$PRGNAM-$VERSION
tar xf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \

View File

@ -1,7 +1,7 @@
PRGNAM="OpenSceneGraph"
VERSION="3.5.5"
HOMEPAGE="http://www.openscenegraph.org/"
DOWNLOAD="https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-3.5.5.tar.gz"
DOWNLOAD="https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-3.5.5/OpenSceneGraph-OpenSceneGraph-3.5.5.tar.gz"
MD5SUM="af7b1719c656192e69694cb12fcc4106"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""

View File

@ -7,6 +7,9 @@ from implementing and optimizing low level graphics calls, and
provides many additional utilities for rapid development of graphics
applications.
Plugins for a number of additional features will be automatically generated
using the following optional packages if they are detected at build time:
dcmtk, ffmpeg, gdal, gtkglext, libgta, nvidia-texture-tools, OpenCASCADE, SDL2
Plugins will be automatically generated using the following optional
packages if they are detected at build time:
dcmtk, ffmpeg, gdal, gtkglext, libgta, libLAS, nvidia-texture-tools,
fltk, SDL2, wxGTK3
These plugins offer significant additional functionality and are recommended
for building a fully featured OpenSceneGraph.