aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-27 15:05:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-17 08:19:19 +0700
commit4a7048dd8100040acae38be5e69223403de371ef (patch)
treef9ade8a184e1ef42b9c95d6e41784ee5f08709cb /libraries
parent426ad673c31ae7d9a2b499fec532ca7526eeb629 (diff)
libraries/ogre: Updated for version 1.12.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-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 96cb08cd72b0..651c87caf3b5 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 958cc17e2bed..37b921129a7e 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 354dc24f47a5..90b9ba58fa43 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"