From 98185482c2f1fd90a59dc73ffb24c1dd95835f58 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Thu, 12 Nov 2015 17:35:47 +0100 Subject: [PATCH] Add WIP recipe for opencity Build is broken for both gcc2 and gcc4. Probably it needs gcc3 (or patching). --- .../opencity/opencity-0.0.6.3.recipe | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 games-simulation/opencity/opencity-0.0.6.3.recipe diff --git a/games-simulation/opencity/opencity-0.0.6.3.recipe b/games-simulation/opencity/opencity-0.0.6.3.recipe new file mode 100644 index 000000000..66c4f1b49 --- /dev/null +++ b/games-simulation/opencity/opencity-0.0.6.3.recipe @@ -0,0 +1,66 @@ +SUMMARY="Free 3D city simulator" +DESCRIPTION="Once upon the time, I was travelling over the Internet, and I \ +found a city simulator under linux called FreeReign at SourceForge. But it \ +isn't maintained any more. I decided to push the game up so I had a look at \ +the FreeReign sources. However, its codes were not obvious to me, and in \ +addition the game design didn't fit my programming style. Finally, I decided \ +to write my own free 3D city simulator, based on the original ideas of the \ +FreeReign project. Few months later, OpenCity was born. + +OpenCity is a full 3D city simulator game project. It is written in standard \ +C++ with OpenGL and SDL from scratch. It is not intended to be a clone of any \ +famous city simulator from Max*s. So, if you are looking to download a free \ +SimCity 4 like, please forget OpenCity. I work on it at my spare time, and I \ +really meant it \"my spare time\" ! + +OpenCity is also an OpenGL/SDL/C++ game programming tutorial. In the \ +resources section, you can find the micro simulators' algorithm, design \ +document, UML diagram and information about other issues. The UML diagram is \ +edited with Umbrello, the free UML diagram editor for KDE." +HOMEPAGE="http://www.opencity.info/" +SOURCE_URI="http://sourceforge.net/projects/opencity/files/Stable/0.0.6/opencity-0.0.6.3stable.tar.bz2" +SOURCE_DIR="opencity-0.0.6.3stable" +CHECKSUM_SHA256="23e31e44644c01f0a7d836a71fd03fa63ffbfd4bc983b4578e7836b345cfad03" +REVISION="1" + +ARCHITECTURES="!x86_gcc2" +SECONDARY_ARCHITECTURES="!x86" + +PROVIDES=" + opencity$secondaryArchSuffix = $portVersion +" + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libsdl_image$secondaryArchSuffix + devel:libsdl_mixer$secondaryArchSuffix + devel:libsdl_net_1.2$secondaryArchSuffix + devel:libgl$secondaryArchSuffix + devel:libglu$secondaryArchSuffix + devel:libpng$secondaryArchSuffix +" + +BUILD_PREREQUIRES=" + cmd:awk + cmd:gcc$secondaryArchSuffix + cmd:make + cmd:pkg_config$secondaryArchSuffix + cmd:sdl_config$secondaryArchSuffix +" + +BUILD() { + runConfigure ./configure + make $jobArgs +} + +INSTALL() { + make install +} + +COPYRIGHT="2003-2008 Duong Khang NGUYEN + 2003-2008 Frederic RODRIGO + 2006-2007 Brodie THIESFIELD + 2006 Angelo 'Encelo' THEODOROU + 2002-2004 Yves BERQUIN + 1999 Jeff MOLOFEE" +LICENSE="GNU GPL v2"