SUMMARY="Framework designed for remaking Thrust" DESCRIPTION="This is a simple framework designed for remaking Thrust, the best \ game that was ever created. So far the biggest project using the framework is klystrack, a chiptune \ tracker that uses the klystron sound engine for great success. Some selling points: * Sound synthesis for music and effects * Low system requirements (the audio engine uses about 20 % CPU time on a 366 MHz Dingoo, at 22 Khz) * Pixel-accurate sprite-sprite and sprite-background collision checking * C99 (GNU99) * SDL * GUI stuff for simple mouse control In short: the feature set is something that could be found inside an generic \ video game console circa 1991. The API is relatively simple, yet uses some \ (stupid) tricks. The main goal is to provide pixel-accurate collisions which \ is a very important feature for a thrustlike game. The synth and the music \ routine are thrown in just for fun. " HOMEPAGE="https://github.com/kometbomb/klystron/" COPYRIGHT="2009-2015 Tero Lindeman (kometbomb)" LICENSE="MIT" REVISION="1" SOURCE_URI="https://github.com/kometbomb/klystron/archive/89b1214fde74b755f24b69673a2ca1f6b721d775.tar.gz" CHECKSUM_SHA256="fbafcc75f8e7a39f2d95dfac9c0ae3b4fe28a3d6e543289fd90125b98a2e5e54" SOURCE_DIR="klystron-89b1214fde74b755f24b69673a2ca1f6b721d775" ARCHITECTURES="!x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" klystron$secondaryArchSuffix = $portVersion devel:libengine_gfx$secondaryArchSuffix devel:libengine_gui$secondaryArchSuffix devel:libengine_snd$secondaryArchSuffix devel:libengine_util$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libsdl2$secondaryArchSuffix devel:libsdl2_mixer$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:make " BUILD() { make } INSTALL() { mkdir -p $libDir cp bin.debug/*.a $libDir prepareInstalledDevelLibs libengine_gfx libengine_gui libengine_snd \ libengine_util mkdir -p $includeDir cp src/*.h $includeDir mkdir -p $includeDir/gfx cp src/gfx/*.h $includeDir/gfx mkdir -p $includeDir/gui cp src/gui/*.h $includeDir/gui mkdir -p $includeDir/snd cp src/snd/*.h $includeDir/snd mkdir -p $includeDir/util cp src/util/*.h $includeDir/util }