games/ember: Updated for version 0.7.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-02-07 00:23:05 +07:00
parent c1fa7ec228
commit d1169f089b
3 changed files with 32 additions and 10 deletions

View file

@ -0,0 +1,11 @@
--- ember-0.7.2/configure.old 2016-02-06 13:43:10.960997615 +0700
+++ ember-0.7.2/configure 2016-02-06 13:43:40.090962492 +0700
@@ -18020,7 +18020,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5
$as_echo "$boost_cv_lib_version" >&6; }
# e.g. "134" for 1_34_1 or "135" for 1_35
- boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
+ boost_major_version=159
case $boost_major_version in #(
'' | *[!0-9]*)
as_fn_error $? "invalid value: boost_major_version=$boost_major_version" "$LINENO" 5

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ember
VERSION=${VERSION:-0.7.1}
VERSION=${VERSION:-0.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -67,12 +67,23 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 755 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 755 {} \;
./autogen.sh
sed -i "/#include <sigc++\/object_slot.h>/d" src/services/server/ServerService.h
sed -i "/#include <sigc++\/object_slot.h>/d" src/services/logging/LoggingService.cpp
sed -i "/#include <sigc++\/object_slot.h>/d" src/components/ogre/terrain/TerrainManager.cpp
sed -i "/#include <sigc++\/object.h>/d" src/services/metaserver/MetaserverService.h
sed -i "/#include <sigc++\/object.h>/d" src/services/server/OOGChat.h
sed -i "/#include <sigc++\/object.h>/d" src/services/wfut/WfutService.h
sed -i "/#include <sigc++\/object.h>/d" src/services/wfut/WfutSession.h
# hard coded boost version!!!
# make sure to update whenever new version is used
patch -p1 < $CWD/configure.patch
mkdir -p `arch` && cd `arch`
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS -fpermissive" \
CXXFLAGS="$SLKCFLAGS -fpermissive" \
../configure \
--prefix=/usr \
--bindir=/usr/bin \

View file

@ -1,12 +1,12 @@
PRGNAM="ember"
VERSION="0.7.1"
VERSION="0.7.2"
HOMEPAGE="https://sourceforge.net/projects/worldforge/"
DOWNLOAD="http://sourceforge.net/projects/worldforge/files/Ember%20%28OGRE%20client%29/0.7.1/ember-0.7.1.tar.bz2 \
http://sourceforge.net/projects/worldforge/files/Ember%20%28OGRE%20client%29/0.7.1/ember-media-0.7.1.tar.bz2"
MD5SUM="bfcd6f5a9980b05172c45791dba611cf \
773df69df42628c4d9933a74f109335c"
DOWNLOAD="http://sourceforge.net/projects/worldforge/files/Ember%20%28OGRE%20client%29/0.7.2/ember-0.7.2.tar.bz2 \
http://sourceforge.net/projects/worldforge/files/Ember%20%28OGRE%20client%29/0.7.2/ember-media-0.7.2.tar.bz2"
MD5SUM="5fa2cf860ebe66674d5e5e05c8e87009 \
fb36fc4770fcea24f0fc839986b786b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="FreeImage tolua++ freealut ogre CEGUI0.7 eris libwfut varconf"
REQUIRES="FreeImage tolua++ freealut ogre CEGUI eris libwfut varconf"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"