aboutsummaryrefslogtreecommitdiff
path: root/libraries/ogre
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ogre')
-rw-r--r--libraries/ogre/ogre.SlackBuild3
-rw-r--r--libraries/ogre/ogre.info8
2 files changed, 7 insertions, 4 deletions
diff --git a/libraries/ogre/ogre.SlackBuild b/libraries/ogre/ogre.SlackBuild
index 37b921129a7ea..01049e81fa777 100644
--- a/libraries/ogre/ogre.SlackBuild
+++ b/libraries/ogre/ogre.SlackBuild
@@ -26,6 +26,7 @@
PRGNAM=ogre
VERSION=${VERSION:-1.12.9}
+IMGUIVER=${IMGUIVER:-1.77}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +61,6 @@ fi
# cmake options
OGRE_BUILD_SAMPLES=${OGRE_BUILD_SAMPLES:-ON}
OGRE_INSTALL_DOCS=${OGRE_INSTALL_DOCS:-ON}
-OGRE_INSTALL_DOCS=${OGRE_INSTALL_DOCS:-ON}
OGRE_INSTALL_SAMPLES_SOURCE=${OGRE_INSTALL_SAMPLES_SOURCE:-ON}
set -e
@@ -79,6 +79,7 @@ find -L . \
mkdir build
cd build
+tar xvf $CWD/imgui-$IMGUIVER.tar.gz
CXXFLAGS+=' -Wno-deprecated-declarations' \
/opt/cmake-202x/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
diff --git a/libraries/ogre/ogre.info b/libraries/ogre/ogre.info
index 90b9ba58fa439..848a248656345 100644
--- a/libraries/ogre/ogre.info
+++ b/libraries/ogre/ogre.info
@@ -1,10 +1,12 @@
PRGNAM="ogre"
VERSION="1.12.9"
HOMEPAGE="https://www.ogre3d.org/"
-DOWNLOAD="https://github.com/OGRECave/ogre/archive/v1.12.9/ogre-1.12.9.zip"
-MD5SUM="af72419a3ad1f84213de29db4d52f261"
+DOWNLOAD="https://github.com/OGRECave/ogre/archive/v1.12.9/ogre-1.12.9.zip \
+https://github.com/ocornut/imgui/archive/v1.77/imgui-1.77.tar.gz"
+MD5SUM="af72419a3ad1f84213de29db4d52f261 \
+d42af3bff3a6489fd8eb5ceb49e12a63"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="cmake-202x"
+REQUIRES="cmake-202x pugixml"
MAINTAINER="Roberto Metere"
EMAIL="roberto@metere.it"