aboutsummaryrefslogtreecommitdiff
path: root/libraries/OpenSceneGraph
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/OpenSceneGraph')
-rw-r--r--libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild10
-rw-r--r--libraries/OpenSceneGraph/OpenSceneGraph.info2
-rw-r--r--libraries/OpenSceneGraph/README4
3 files changed, 7 insertions, 9 deletions
diff --git a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
index bcf21cc5d8..0357d47e42 100644
--- a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
+++ b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
@@ -4,13 +4,13 @@
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
# Maintained by Jordan Evans <jordanevans19@gmail.com>
-# Maintained 2018-2023 by Christoph Willing <chris.willing@linux.com>
+# Maintained 2018-2025 by Christoph Willing <chris.willing@linux.com>
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=OpenSceneGraph
VERSION=${VERSION:-3.6.5}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -22,9 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -70,8 +67,9 @@ patch -p0 < $CWD/no-asio-occ.diff
mkdir -p build
cd build
cmake .. \
+ -Wno-dev \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11 -Wno-deprecated-declarations -Wno-deprecated-copy -Wno-shadow" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_POSTFIX=$LIBDIRSUFFIX \
-DCMAKE_BUILD_TYPE=Release \
diff --git a/libraries/OpenSceneGraph/OpenSceneGraph.info b/libraries/OpenSceneGraph/OpenSceneGraph.info
index 82925e0f04..569dbe39c0 100644
--- a/libraries/OpenSceneGraph/OpenSceneGraph.info
+++ b/libraries/OpenSceneGraph/OpenSceneGraph.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGrap
MD5SUM="51b1c6ee5627246e78b23adbf0aa48f8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="collada-dom dcmtk"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/libraries/OpenSceneGraph/README b/libraries/OpenSceneGraph/README
index 3741e35868..6b9b757939 100644
--- a/libraries/OpenSceneGraph/README
+++ b/libraries/OpenSceneGraph/README
@@ -10,8 +10,8 @@ applications.
Plugins will be automatically generated using the following optional
SBo packages if they are detected at build time:
- collada-dom, dcmtk, fltk, fox-toolkit, gdal, gtkglext, libgta,
- libLAS, nvidia-texture-tools, wxGTK3
+ fltk, fox-toolkit, wxGTK3
+ gdal, gtkglext, libgta, libLAS, nvidia-texture-tools
These plugins offer significant additional functionality and are
recommended for building a fully featured OpenSceneGraph. However,