aboutsummaryrefslogtreecommitdiff
path: root/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2025-07-15 18:02:53 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-07-19 08:33:16 +0700
commit1e0bda557828dcc3d9e0f4af26fe7ff289f2a4fc (patch)
tree3c856930d6ac7f9afeb7227ebb31776bc3af4131 /libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
parent67f48103ad256371666b18aac3a30f6b9fbf484e (diff)
libraries/OpenSceneGraph: Add collada-dom & dcmtk to REQUIRES
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild')
-rw-r--r--libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild10
1 files changed, 4 insertions, 6 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 \