summaryrefslogtreecommitdiff
path: root/libraries/ogre
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ogre')
-rw-r--r--libraries/ogre/ogre.SlackBuild38
1 files changed, 8 insertions, 30 deletions
diff --git a/libraries/ogre/ogre.SlackBuild b/libraries/ogre/ogre.SlackBuild
index 9be43d6e31..bd6162b384 100644
--- a/libraries/ogre/ogre.SlackBuild
+++ b/libraries/ogre/ogre.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=ogre
VERSION=${VERSION:-1.9}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
SRCNAM="${PRGNAM}_src_v${VERSION//./-}"
@@ -61,22 +61,10 @@ else
fi
# cmake options
-OGRE_BUILD_COMPONENT_PAGING=${OGRE_BUILD_COMPONENT_PAGING:-ON}
-OGRE_BUILD_COMPONENT_PROPERTY=${OGRE_BUILD_COMPONENT_PROPERTY:-ON}
-OGRE_BUILD_COMPONENT_RTSHADERS=${OGRE_BUILD_COMPONENT_RTSHADERS:-ON}
-OGRE_BUILD_COMPONENT_TERRAIN=${OGRE_BUILD_COMPONENT_TERRAIN:-ON}
-OGRE_BUILD_PLUGIN_BSP=${OGRE_BUILD_PLUGIN_BSP:-ON}
-OGRE_BUILD_PLUGIN_PCZ=${OGRE_BUILD_PLUGIN_PCZ:-ON}
-OGRE_BUILD_RENDERSYSTEM_GL=${OGRE_BUILD_RENDERSYSTEM_GL:-ON}
-OGRE_BUILD_SAMPLES=${OGRE_BUILD_SAMPLES:-OFF}
-OGRE_BUILD_TESTS=${OGRE_BUILD_TESTS:-OFF}
-OGRE_BUILD_TOOLS=${OGRE_BUILD_TOOLS:-ON}
-OGRE_CONFIG_THREADS=${OGRE_CONFIG_THREADS:-2}
-OGRE_CONFIG_THREAD_PROVIDER=${OGRE_CONFIG_THREAD_PROVIDER:-boost}
-OGRE_DEPENDENCIES_DIR=${OGRE_DEPENDENCIES_DIR:-}
+OGRE_BUILD_SAMPLES=${OGRE_BUILD_SAMPLES:-ON}
OGRE_INSTALL_DOCS=${OGRE_INSTALL_DOCS:-ON}
-OGRE_STATIC=${OGRE_STATIC:-OFF}
-
+OGRE_INSTALL_DOCS=${OGRE_INSTALL_DOCS:-ON}
+OGRE_INSTALL_SAMPLES_SOURCE=${OGRE_INSTALL_SAMPLES_SOURCE:-ON}
set -e
rm -rf $PKG
@@ -94,24 +82,14 @@ find -L . \
mkdir build
cd build
+ CXXFLAGS+=' -Wno-deprecated-declarations' \
cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
-DOGRE_LIB_DIRECTORY=lib${LIBDIRSUFFIX} \
- -DOGRE_BUILD_COMPONENT_PAGING=$OGRE_BUILD_COMPONENT_PAGING \
- -DOGRE_BUILD_COMPONENT_PROPERTY=$OGRE_BUILD_COMPONENT_PROPERTY \
- -DOGRE_BUILD_COMPONENT_RTSHADERS=$OGRE_BUILD_COMPONENT_RTSHADERS \
- -DOGRE_BUILD_COMPONENT_TERRAIN=$OGRE_BUILD_COMPONENT_TERRAIN \
- -DOGRE_BUILD_PLUGIN_BSP=$OGRE_BUILD_PLUGIN_BSP \
- -DOGRE_BUILD_PLUGIN_PCZ=$OGRE_BUILD_PLUGIN_PCZ \
- -DOGRE_BUILD_RENDERSYSTEM_GL=$OGRE_BUILD_RENDERSYSTEM_GL \
-DOGRE_BUILD_SAMPLES=$OGRE_BUILD_SAMPLES \
-DOGRE_INSTALL_SAMPLES=$OGRE_BUILD_SAMPLES \
- -DOGRE_BUILD_TESTS=$OGRE_BUILD_TESTS \
- -DOGRE_BUILD_TOOLS=$OGRE_BUILD_TOOLS \
- -DOGRE_INSTALL_TOOLS=$OGRE_BUILD_TOOLS \
- -DOGRE_CONFIG_THREADS=$OGRE_CONFIG_THREADS \
- -DOGRE_CONFIG_THREAD_PROVIDER=$OGRE_CONFIG_THREAD_PROVIDER \
- -DOGRE_DEPENDENCIES_DIR=$OGRE_DEPENDENCIES_DIR \
- -DOGRE_STATIC=$OGRE_STATIC \
+ -DOGRE_INSTALL_DOCS=$OGRE_INSTALL_DOCS \
+ -DOGRE_INSTALL_SAMPLES_SOURCE=$OGRE_INSTALL_SAMPLES_SOURCE \
../
make
make install DESTDIR=$PKG