diff options
Diffstat (limited to 'libraries/ogre/ogre.SlackBuild')
-rw-r--r-- | libraries/ogre/ogre.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libraries/ogre/ogre.SlackBuild b/libraries/ogre/ogre.SlackBuild index c063b67cdfa07..ce86205390d14 100644 --- a/libraries/ogre/ogre.SlackBuild +++ b/libraries/ogre/ogre.SlackBuild @@ -29,11 +29,16 @@ # ogre. This allows ogre to be built on a system where assimp is # installed. +# 20220214 bkw: Modified by SlackBuilds.org again: ogre-13.2.4 really +# wants imgui-1.85 (not 1.86; it was failing to build with that). Also, +# we can use assimp now, so get rid of -DOGRE_BUILD_PLUGIN_ASSIMP=FALSE. +# It will be autodetected, the build will succeed with or without it. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ogre VERSION=${VERSION:-13.2.4} -IMGUIVER=${IMGUIVER:-1.86} +IMGUIVER=${IMGUIVER:-1.85} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -94,8 +99,7 @@ find -L . \ mkdir build cd build -tar xvf $CWD/imgui-$IMGUIVER.tar.gz - export "PATH=/opt/cmake-202x/bin:$PATH" + tar xvf $CWD/imgui-$IMGUIVER.tar.gz CXXFLAGS+=' -Wno-deprecated-declarations' \ cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ @@ -106,7 +110,6 @@ tar xvf $CWD/imgui-$IMGUIVER.tar.gz -DOGRE_BUILD_DEPENDENCIES=FALSE \ -DOGRE_BUILD_PLUGIN_FREEIMAGE=TRUE \ -DOGRE_INSTALL_SAMPLES_SOURCE=$OGRE_INSTALL_SAMPLES_SOURCE \ - -DOGRE_BUILD_PLUGIN_ASSIMP=FALSE \ -DOGRE_BUILD_COMPONENT_CSHARP=FALSE \ ../ make |