BumpRace 1.5.5, new recipe

This commit is contained in:
Begasus
2016-05-05 22:04:01 +02:00
committed by Jérôme Duval
parent ee62127865
commit 9054f64013
2 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
SUMMARY="A simple arcade game"
DESCRIPTION="BumpRace is a simple arcade game. You've to get from the start \
to the finish line without crashing into deadly blocks. This game has really \
simple rules!"
HOMEPAGE="http://www.linux-games.com/bumprace/"
COPYRIGHT="2007 Karl Bartel, Skaven"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://bitbucket.org/karlb/bumprace/get/1.5.5.tar.gz"
CHECKSUM_SHA256="ccc9841f17948b2a3fe3ff90c738029921d1794608ca5cf22f1b15a556bd746f"
SOURCE_DIR="karlb-bumprace-034aca498e89"
PATCHES="karlb-bumprace-$portVersion.patch"
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
bumprace$secondaryArchSuffix = $portVersion
app:BumpRace$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsdl_image$secondaryArchSuffix
lib:libsdl_mixer$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libjpeg$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libsdl_image$secondaryArchSuffix
devel:libsdl_mixer$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:automake
cmd:autoconf
cmd:aclocal
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:libtoolize
cmd:make
"
BUILD()
{
aclocal
automake --add-missing
sed -i 's/-lm//g' configure
./configure --prefix=$appsDir/BumpRace
make $jobArgs
}
INSTALL()
{
make install
mv $appsDir/BumpRace/bin/bumprace $appsDir/BumpRace/BumpRace
rm -r $appsDir/BumpRace/bin
addAppDeskbarSymlink $appsDir/BumpRace/BumpRace BumpRace
}

View File

@@ -0,0 +1,11 @@
--- karlb-bumprace-034aca498e89/src/bumprace.c.org 2016-04-30 10:18:57.736100352 +0200
+++ karlb-bumprace-034aca498e89/src/bumprace.c 2016-04-30 10:18:42.094371840 +0200
@@ -53,7 +53,7 @@
//the players
player user[MAX_PLAYER_NUM]; int pl=0,playernum=2;
//general setting
- int final=1,fullscreen=1,pageflip=0,sound=1,precision=10,fps=0,particle=1,mode,dofadeout=1,levelset=0;
+ int final=1,fullscreen=0,pageflip=0,sound=1,precision=10,fps=0,particle=1,mode,dofadeout=1,levelset=0;
const int NUMBER_OF_LEVELS[2]={21,9};
//level settings
float gravity=0,turbo=5,laser_switch;