diff options
Diffstat (limited to 'libraries/CEGUI/CEGUI.SlackBuild')
-rw-r--r-- | libraries/CEGUI/CEGUI.SlackBuild | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/libraries/CEGUI/CEGUI.SlackBuild b/libraries/CEGUI/CEGUI.SlackBuild index ac1e1c5e7c..605546ce5c 100644 --- a/libraries/CEGUI/CEGUI.SlackBuild +++ b/libraries/CEGUI/CEGUI.SlackBuild @@ -9,14 +9,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=CEGUI SRCNAM=cegui -VERSION=${VERSION:-0.8.4} +VERSION=${VERSION:-0.8.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -34,8 +34,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -63,6 +63,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +sed -i '1iadd_definitions(-std=c++11)' \ + cegui/src/RendererModules/OpenGL/CMakeLists.txt \ + cegui/src/RendererModules/Ogre/CMakeLists.txt \ + application_templates/CMakeLists.txt \ + samples_framework/CMakeLists.txt + mkdir build cd build cmake \ @@ -72,6 +78,11 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ + -DCEGUI_BUILD_XMLPARSER_LIBXML2=OFF \ + -DCEGUI_BUILD_LUA_MODULE=OFF \ + -DCEGUI_BUILD_LUA_GENERATOR=OFF \ + -DCEGUI_BUILD_LUA_GENERATOR=OFF \ + -DCEGUI_BUILD_XMLPARSER_XERCES=OFF \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG |