games/freeorion: Updated for version 0.4.5.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
a329def4a4
commit
10f1b10186
|
@ -3,3 +3,6 @@ galactic conquest (4X) computer game being designed and built
|
|||
by the FreeOrion project. FreeOrion is inspired by the tradition
|
||||
of the Master of Orion games, but is not a clone or remake of that
|
||||
series or any other game.
|
||||
|
||||
Note: for mitigating a hard to track segfault bug in freeoriond, clang is
|
||||
used to compile freeorion instead of gcc
|
||||
|
|
|
@ -22,9 +22,10 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=freeorion
|
||||
SRCVER=${SRCVER:-0.4.5-rc3}
|
||||
VERSION=$(echo $SRCVER | tr - _)
|
||||
SRCNAM=FreeOrion
|
||||
PRGNAM=${SRCNAM,,}
|
||||
SRCVER=${SRCVER:-v0.4.5_2015-09-01.f203162}
|
||||
VERSION=$(echo $SRCVER | cut -c2-6)
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -60,9 +61,10 @@ set -e
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$SRCVER
|
||||
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/v$SRCVER.tar.gz
|
||||
cd $PRGNAM-$SRCVER
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/${SRCNAM}_${SRCVER}_Source.tar.gz
|
||||
mv src-tarball $PRGNAM-$VERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -70,12 +72,14 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Fix cmake target for version file
|
||||
mv util/Version.cpp.in util/Version.cpp
|
||||
# tell cmake to use clang
|
||||
export CC=/usr/bin/clang
|
||||
export CXX=/usr/bin/clang++
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
-D_CMAKE_TOOLCHAIN_PREFIX=llvm- \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="freeorion"
|
||||
VERSION="0.4.5_rc3"
|
||||
VERSION="0.4.5"
|
||||
HOMEPAGE="http://www.freeorion.org"
|
||||
DOWNLOAD="https://github.com/freeorion/freeorion/archive/v0.4.5-rc3.tar.gz"
|
||||
MD5SUM="7112718b9c58d4471cdba99671e12cab"
|
||||
DOWNLOAD="https://github.com/freeorion/freeorion/releases/download/v0.4.5/FreeOrion_v0.4.5_2015-09-01.f203162_Source.tar.gz"
|
||||
MD5SUM="706b8e9ab2ee29575a927e6f1c772d61"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="SDL2 OpenAL"
|
||||
|
|
Loading…
Reference in New Issue