diff --git a/games-arcade/f1spirit/f1spirit-0.rc9.1615.recipe b/games-arcade/f1spirit/f1spirit-0.rc9.1615.recipe new file mode 100644 index 000000000..9172d3076 --- /dev/null +++ b/games-arcade/f1spirit/f1spirit-0.rc9.1615.recipe @@ -0,0 +1,66 @@ +SUMMARY="a top down Formula One Racing game" +HOMEPAGE="http://www2.braingames.getput.com/f1spirit/" +LICENSE="GNU GPL v2" +COPYRIGHT="2002-2008 Brain Games" +SRC_URI="http://braingames.jorito.net/f1spirit/f1spirit.src_0.rc9-1615.tgz" +CHECKSUM_MD5="304935124a1bf48a4de9b39077655fe9" +REVISION="1" +ARCHITECTURES="x86_gcc2" + +PROVIDES=" + $portName = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libcurl$secondaryArchSuffix + lib:libglu$secondaryArchSuffix + lib:libsdl$secondaryArchSuffix + lib:libSDL_image$secondaryArchSuffix + lib:libSDL_mixer$secondaryArchSuffix + lib:libSDL_net_1.2$secondaryArchSuffix + lib:libssl$secondaryArchSuffix + lib:libz$secondaryArchSuffix + " +BUILD_REQUIRES=" + devel:libcurl$secondaryArchSuffix + devel:libglu$secondaryArchSuffix + devel:libsdl$secondaryArchSuffix + devel:libSDL_image$secondaryArchSuffix + devel:libSDL_mixer$secondaryArchSuffix + devel:libSDL_net_1.2$secondaryArchSuffix + lib:libSDL_net_1.2$secondaryArchSuffix +# Why is that required? + devel:libssl$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + haiku_devel >= $haikuVersion + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + " + +PATCHES="$portName-$portVersion.patchset" +BUILD() +{ + make $jobArgs +} + +INSTALL() +{ + installDir=$appsDir/"F-1 Spirit" + mkdir -p "$installDir" + make install PREFIX="$installDir" GAMEDIR="$installDir" + + cd "$installDir" + echo -e "#!/bin/sh\ncd \"$installDir\"/share/games/f1spirit && ./f1spirit" > f1spirit + + addAppDeskbarSymlink "$installDir/$portName" "F-1 Spirit" +} + +DESCRIPTION=" +Race against your opponents on 21 tracks. Features online high scores, realtime +rain effect, split-screen multiplayer, and more! +" diff --git a/games-arcade/f1spirit/patches/f1spirit-0.rc9.1615.patchset b/games-arcade/f1spirit/patches/f1spirit-0.rc9.1615.patchset new file mode 100644 index 000000000..dc4dce04b --- /dev/null +++ b/games-arcade/f1spirit/patches/f1spirit-0.rc9.1615.patchset @@ -0,0 +1,21 @@ +From 1ddc81cdd051fabb1e56e861f5fd5a9da429029c Mon Sep 17 00:00:00 2001 +From: Adrien Destugues +Date: Tue, 21 Jan 2014 22:40:24 +0100 +Subject: Remove outdated include. + + +diff --git a/sources/F1Shttp.cpp b/sources/F1Shttp.cpp +index 59a213c..9cb48cc 100644 +--- a/sources/F1Shttp.cpp ++++ b/sources/F1Shttp.cpp +@@ -3,7 +3,6 @@ + #include "string.h" + + #include +-#include + #include + + #include "F1Shttp.h" +-- +1.8.3.4 +