diff --git a/games-action/armagetronad/armagetronad-0.2.8.3.4.recipe b/games-action/armagetronad/armagetronad-0.2.8.3.4.recipe new file mode 100644 index 000000000..6137d54d1 --- /dev/null +++ b/games-action/armagetronad/armagetronad-0.2.8.3.4.recipe @@ -0,0 +1,86 @@ +SUMMARY="Fast-paced 3D lightcycle game based on Tron" +DESCRIPTION="Armagetron is a multiplayer game in 3d that attempts to emulate \ +and expand on the lightcycle sequence from the movie Tron. It's an old school \ +arcade game slung into the 21st century. Highlights include a customizable \ +playing arena, HUD, unique graphics, and AI bots. For the more advanced player \ +there are new game modes and a wide variety of physics settings to tweak as \ +well." +HOMEPAGE="http://www.armagetronad.org/" +COPYRIGHT="2007-2016 OSS Armagetronad Team" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="https://launchpad.net/armagetronad/0.2.8/$portVersion/+download/armagetronad-$portVersion.src.tar.gz" +CHECKSUM_SHA256="446af57c614ed28b4aa1d5a0d818c9d67a621bf7832b9276c3029c0f5006fedd" +PATCHES="armagetronad-$portVersion.patchset" + +ARCHITECTURES="!x86_gcc2 ?x86_64" +SECONDARY_ARCHITECTURES="?x86" + +GLOBAL_WRITABLE_FILES=" + settings/games/armagetronad/aiplayers.cfg keep-old + settings/games/armagetronad/default.cfg keep-old + settings/games/armagetronad/examples/breakfast_in_hell.cfg keep-old + settings/games/armagetronad/examples/cvs_test/fortress_complete.cfg keep-old + settings/games/armagetronad/examples/cvs_test/fortress_physics.cfg keep-old + settings/games/armagetronad/examples/cvs_test/fortress_politics.cfg keep-old + settings/games/armagetronad/examples/cvs_test/fortress_scoring.cfg keep-old + settings/games/armagetronad/examples/cvs_test/sumo_complete.cfg keep-old + settings/games/armagetronad/examples/death_zone.cfg keep-old + settings/games/armagetronad/examples/fortress_soccer.cfg keep-old + settings/games/armagetronad/examples/single_use_turbo.cfg keep-old + settings/games/armagetronad/examples/teamsumo.cfg keep-old + settings/games/armagetronad/master.srv keep-old + settings/games/armagetronad/rc.config keep-old + settings/games/armagetronad/settings.cfg keep-old + settings/games/armagetronad/settings_authentication.cfg keep-old + settings/games/armagetronad/settings_dedicated.cfg keep-old + settings/games/armagetronad/settings_visual.cfg keep-old + settings/games/armagetronad/subcultures.srv keep-old + " + +PROVIDES=" + armagetronad$secondaryArchSuffix = $portVersion + cmd:armagetronad$secondaryArchSuffix + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libGL$secondaryArchSuffix + lib:libGLU$secondaryArchSuffix + lib:libjpeg$secondaryArchSuffix + lib:libpng$secondaryArchSuffix + lib:libsdl_1.2$secondaryArchSuffix + lib:libSDL_image_1.2$secondaryArchSuffix + lib:libxml2$secondaryArchSuffix + lib:libz$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libGL$secondaryArchSuffix + devel:libGLU$secondaryArchSuffix + devel:libjpeg$secondaryArchSuffix + devel:libpng$secondaryArchSuffix + devel:libsdl_1.2$secondaryArchSuffix + devel:libSDL_image_1.2$secondaryArchSuffix + devel:libxml2$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtoolize$secondaryArchSuffix + cmd:make + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + libtoolize -fci + LDFLAGS=-lnetwork runConfigure ./configure --disable-dependency-tracking + make $jobArgs +} + +INSTALL() +{ + make install +} diff --git a/games-action/armagetronad/patches/armagetronad-0.2.8.3.4.patchset b/games-action/armagetronad/patches/armagetronad-0.2.8.3.4.patchset new file mode 100644 index 000000000..8b03725d6 --- /dev/null +++ b/games-action/armagetronad/patches/armagetronad-0.2.8.3.4.patchset @@ -0,0 +1,22 @@ +From f086484b5aba1390f0a71e7349559899856e8cb2 Mon Sep 17 00:00:00 2001 +From: Sergei Reznikov +Date: Fri, 23 Nov 2018 15:17:26 +0300 +Subject: Add missing include + + +diff --git a/src/network/nSocket.cpp b/src/network/nSocket.cpp +index 29228fb..4434281 100644 +--- a/src/network/nSocket.cpp ++++ b/src/network/nSocket.cpp +@@ -45,7 +45,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + #include + #include + #include +- ++#include + #ifndef WIN32 + #include + #include +-- +2.19.1 +