aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/ogre/README4
-rw-r--r--libraries/ogre/ogre.SlackBuild19
-rw-r--r--libraries/ogre/ogre.info8
3 files changed, 15 insertions, 16 deletions
diff --git a/libraries/ogre/README b/libraries/ogre/README
index 96cb08cd72b04..651c87caf3b50 100644
--- a/libraries/ogre/README
+++ b/libraries/ogre/README
@@ -31,7 +31,7 @@ For example, in order to build samples too, launch from super user:
OGRE_BUILD_SAMPLES=ON ./ogre.SlackBuild
Optional dependencies available at SlackBuilds.org:
-zziplib, FreeImage, tbb, cppunit, ois
+zziplib, FreeImage, tbb, cppunit, ois, nvidia-cg-toolkit
Optional dependencies NOT (yet) available at SlackBuilds.org:
-cg, opengles, POCO
+opengles, POCO
diff --git a/libraries/ogre/ogre.SlackBuild b/libraries/ogre/ogre.SlackBuild
index 958cc17e2bed5..37b921129a7ea 100644
--- a/libraries/ogre/ogre.SlackBuild
+++ b/libraries/ogre/ogre.SlackBuild
@@ -25,13 +25,10 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ogre
-VERSION=${VERSION:-1.9}
-BUILD=${BUILD:-6}
+VERSION=${VERSION:-1.12.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM="${PRGNAM}_src_v${VERSION//./-}"
-SRCNAM="sinbad-ogre-6e05fa641af2" # This is just temporary
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -70,9 +67,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM
-tar xvf $CWD/$SRCNAM.tar.bz2 || tar xvf $CWD/v$(echo $VERSION | tr . -).tar.bz2
-cd $SRCNAM
+rm -rf $PRGNAM-$VERSION
+unzip $CWD/$PRGNAM-$VERSION.zip
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -83,12 +80,14 @@ find -L . \
mkdir build
cd build
CXXFLAGS+=' -Wno-deprecated-declarations' \
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ /opt/cmake-202x/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DOGRE_LIB_DIRECTORY=lib${LIBDIRSUFFIX} \
-DOGRE_BUILD_SAMPLES=$OGRE_BUILD_SAMPLES \
-DOGRE_INSTALL_SAMPLES=$OGRE_BUILD_SAMPLES \
-DOGRE_INSTALL_DOCS=$OGRE_INSTALL_DOCS \
+ -DOGRE_BUILD_DEPENDENCIES=FALSE \
+ -DOGRE_BUILD_PLUGIN_FREEIMAGE=TRUE \
-DOGRE_INSTALL_SAMPLES_SOURCE=$OGRE_INSTALL_SAMPLES_SOURCE \
../
make
@@ -99,7 +98,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS BUGS BuildingOgre.txt COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/ogre/ogre.info b/libraries/ogre/ogre.info
index 354dc24f47a58..90b9ba58fa439 100644
--- a/libraries/ogre/ogre.info
+++ b/libraries/ogre/ogre.info
@@ -1,10 +1,10 @@
PRGNAM="ogre"
-VERSION="1.9"
+VERSION="1.12.9"
HOMEPAGE="https://www.ogre3d.org/"
-DOWNLOAD="https://bitbucket.org/sinbad/ogre/get/v1-9.tar.bz2"
-MD5SUM="445ed1d75f24fd351e6f87304d95098b"
+DOWNLOAD="https://github.com/OGRECave/ogre/archive/v1.12.9/ogre-1.12.9.zip"
+MD5SUM="af72419a3ad1f84213de29db4d52f261"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="cmake-202x"
MAINTAINER="Roberto Metere"
EMAIL="roberto@metere.it"