mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-01 06:32:51 +02:00
games/speed-dreams: Updated for version 2.0.0_r4687.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
70751b99bf
commit
21fd97ccb6
5 changed files with 36 additions and 51 deletions
|
@ -1,4 +1,4 @@
|
|||
Speed Dreams is a fork of the famous open racing car simulator Torcs,
|
||||
aiming to implement exciting new features, cars, tracks and AI opponents
|
||||
to make a more enjoyable game for the player, as well as constantly
|
||||
improving visual and physics realism.
|
||||
Speed Dreams is a fork of the famous open racing car simulator Torcs, aiming
|
||||
to implement exciting new features, cars, tracks and AI opponents to make a
|
||||
more enjoyable game for the player, as well as constantly improving visual and
|
||||
physics realism.
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
Fixes #645 & #646 (GCC 4.7 compatibility)
|
||||
|
||||
--- src/libs/math/v3_t.h.orig 2012-03-30 18:09:00.697957753 -0500
|
||||
+++ src/libs/math/v3_t.h 2012-03-30 18:09:15.421679640 -0500
|
||||
@@ -28,6 +28,7 @@
|
||||
#ifndef _LINALG_V3_T_H_
|
||||
#define _LINALG_V3_T_H_
|
||||
|
||||
+#include <cmath>
|
||||
|
||||
template<class T> class v3t;
|
||||
#ifndef _MSC_VER
|
||||
--- src/libs/portability/portability.h.orig 2012-03-30 18:03:35.047110686 -0500
|
||||
+++ src/libs/portability/portability.h 2012-03-30 18:10:19.171475549 -0500
|
||||
@@ -22,10 +22,13 @@
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
+
|
||||
#ifdef _MSC_VER
|
||||
#include <direct.h>
|
||||
#include <process.h>
|
||||
#define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */
|
||||
+#else
|
||||
+#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
|
@ -6,14 +6,14 @@
|
|||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
speed-dreams: speed-dreams (racing car simulator)
|
||||
speed-dreams:
|
||||
speed-dreams: Speed Dreams is a fork of the famous open racing car simulator
|
||||
speed-dreams: Torcs, aiming to implement exciting new features, cars, tracks
|
||||
speed-dreams: and AI opponents to make a more enjoyable game for the player,
|
||||
speed-dreams: as well as constantly improving visual and physics realism.
|
||||
speed-dreams: Speed Dreams is a fork of the famous open racing car simulator Torcs,
|
||||
speed-dreams: aiming to implement exciting new features, cars, tracks and AI
|
||||
speed-dreams: opponents to make a more enjoyable game for the player, as well as
|
||||
speed-dreams: constantly improving visual and physics realism.
|
||||
speed-dreams:
|
||||
speed-dreams:
|
||||
speed-dreams: Homepage: http://www.speed-dreams.org/
|
||||
speed-dreams:
|
||||
speed-dreams:
|
||||
speed-dreams:
|
||||
speed-dreams:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# written by powtrix (@gmail.com)
|
||||
|
||||
PRGNAM=speed-dreams
|
||||
VERSION=2.0.0_rc1_r4420
|
||||
VERSION=2.0.0_r4687
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -49,11 +49,13 @@ tar xvf $CWD/$PRGNAM-src-base-$SRCVERSION.tar.xz
|
|||
tar xvf $CWD/$PRGNAM-src-hq-cars-and-tracks-$SRCVERSION.tar.xz
|
||||
tar xvf $CWD/$PRGNAM-src-more-hq-cars-and-tracks-$SRCVERSION.tar.xz
|
||||
tar xvf $CWD/$PRGNAM-src-wip-cars-and-tracks-$SRCVERSION.tar.xz
|
||||
tar xvf $CWD/$PRGNAM-src-unmaintained-$SRCVERSION.tar.xz
|
||||
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
patch -p0 < $CWD/gcc47.patch
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
|
@ -62,9 +64,17 @@ cmake \
|
|||
-DCMAKE_INSTALL_PREFIX:STRING=/usr \
|
||||
-DCMAKE_PREFIX_PATH:STRING=/usr \
|
||||
-DOPTION_OFFICIAL_ONLY:BOOL=ON \
|
||||
-DOPTION_DEBUG:BOOL=OFF .
|
||||
-DOPTION_DEBUG:BOOL=OFF ..
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
cd -
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
|
||||
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2>/dev/null || true
|
||||
|
||||
mv $PKG/usr/{share/,}man
|
||||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
|
||||
mkdir -p $PKG/usr/share/pixmaps
|
||||
cp -a $CWD/$PRGNAM.xpm $PKG/usr/share/pixmaps
|
||||
|
@ -80,7 +90,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
|||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,14 +1,18 @@
|
|||
PRGNAM="speed-dreams"
|
||||
VERSION="2.0.0_rc1_r4420"
|
||||
VERSION="2.0.0_r4687"
|
||||
HOMEPAGE="http://www.speed-dreams.org/"
|
||||
DOWNLOAD="http://sourceforge.net/projects/speed-dreams/files/2.0.0/speed-dreams-src-base-2.0.0-rc1-r4420.tar.xz \
|
||||
http://sourceforge.net/projects/speed-dreams/files/2.0.0/speed-dreams-src-wip-cars-and-tracks-2.0.0-rc1-r4420.tar.xz \
|
||||
http://sourceforge.net/projects/speed-dreams/files/2.0.0/speed-dreams-src-hq-cars-and-tracks-2.0.0-rc1-r4420.tar.xz \
|
||||
http://sourceforge.net/projects/speed-dreams/files/2.0.0/speed-dreams-src-more-hq-cars-and-tracks-2.0.0-rc1-r4420.tar.xz"
|
||||
MD5SUM="bce029b4519d590dfa35ed83348475cd \
|
||||
f4d155ff8463c61860f767823ae314ad \
|
||||
9f7bbb22fbc1c18548ae616dfc06f0b0 \
|
||||
ca6edc5a2f420214e826e8d112967495"
|
||||
DOWNLOAD="\
|
||||
http://downloads.sf.net/speed-dreams/speed-dreams-src-base-2.0.0-r4687.tar.xz \
|
||||
http://downloads.sf.net/speed-dreams/speed-dreams-src-wip-cars-and-tracks-2.0.0-r4687.tar.xz \
|
||||
http://downloads.sf.net/speed-dreams/speed-dreams-src-hq-cars-and-tracks-2.0.0-r4687.tar.xz \
|
||||
http://downloads.sf.net/speed-dreams/speed-dreams-src-more-hq-cars-and-tracks-2.0.0-r4687.tar.xz \
|
||||
http://downloads.sf.net/speed-dreams/speed-dreams-src-unmaintained-2.0.0-r4687.tar.xz"
|
||||
MD5SUM="\
|
||||
a6842887fc289ed6057be2ba9d2afaa2 \
|
||||
edcc842291737dbb13a3083252bf51d4 \
|
||||
57cf5c475491294ce1fb249e2dc0273b \
|
||||
c8ab7ef068fa3fbe67d2b3246b30ea8a \
|
||||
8505c46aae6ce56a43353b8899d40ce4"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="OpenAL enet plib"
|
||||
|
|
Loading…
Reference in a new issue