diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-14 22:50:47 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-16 08:20:05 +0700 |
commit | 52dc75ef226ec6d98d7e53c737e6af2820872876 (patch) | |
tree | a554035f188128e942ed26c021b7e9ca00d13d97 /libraries/ogre/ogre.SlackBuild | |
parent | 82e4103f4e602d08f339dc76976abf28e391f9d2 (diff) |
libraries/ogre: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 |