Package: cannonball Version: 0.3 Revision: 3 GCC: 4.0 Source: https://github.com/djyt/cannonball/archive/v%v.tar.gz Source-Checksum: SHA256(572b983b5490f1131d502e573d59e87ff841d5baa608b40482c198686818a476) SourceRename: %n-%v.tar.gz Description: Open Source OutRun Engine DescDetail: << Data: You need the OutRun Revision B ROMs to play. Clone the %p/share/cannonball into your home directory Put the roms into the roms folder Running the game: You have to run the game from the top directory. If you install the roms into ~/cannonball/roms Then launch the game from Terminal like this: cd ~/cannonball %p/bin/cannonbal Quick Start: * Press multiple times the key 5 to add credits (Up to 9) * 1 to start the race (or select any options from the menu) Then control the car with: * Z to accelerate * Spacebar to change gear up or down * Left key to turn left * Right key to turn right Enjoy ! ! ! << # dmacks: include fixes for newer boost, akin to upstream: # https://github.com/djyt/cannonball/blob/master/src/main/frontend/config.cpp PatchFile: %n.patch PatchFile-MD5: 843fa123e6e2d0f954ae062ccff49989 PatchScript: << %{default_script} perl -pi -e "s,FINK_PATH,%p,g" cmake/CMakeLists.txt perl -pi -e "s,FINK_PATH,%p,g" cmake/debian.cmake << BuildDepends: << cmake, boost1.78-nopython, fink-package-precedence, sdl << Depends: << sdl-shlibs << setCPPFlags: -MD setCXXFlags: -MD CompileScript: << #!/bin/bash -ev mkdir build cd build cmake -DTARGET=debian ../cmake make cd .. fink-package-precedence --depfile-ext='.d' . << InstallScript: << #!/bin/bash -ev mkdir -p %i/bin cp build/cannonball %i/bin mkdir -p %i/share mkdir -p %i/share/applications touch %i/share/applications/cannonball.desktop echo "[Desktop Entry]" > %i/share/applications/cannonball.desktop echo "Name=Cannonball" >> %i/share/applications/cannonball.desktop echo "Exec=cannonball" >> %i/share/applications/cannonball.desktop echo "Path=%p/share/cannonball" >> %i/share/applications/cannonball.desktop echo "Type=Application" >> %i/share/applications/cannonball.desktop echo "Comment=OutRun Engine" >> %i/share/applications/cannonball.desktop echo "Categories=Game;" >> %i/share/applications/cannonball.desktop mkdir -p %i/share/cannonball cp res/config.xml %i/share/cannonball mkdir -p %i/share/cannonball/roms cp roms/roms.txt %i/share/cannonball/roms << Docfiles: docs/license.txt License: Restrictive/Distributable Maintainer: Pierre-Henri Lavigne Homepage: https://github.com/djyt/cannonball/wiki