[Lunar-commits] <moonbase> xmoto: a 2D game.

Florin Braescu florin at lunar-linux.org
Mon Jun 21 16:51:35 CEST 2010


commit 2f6947b017461ba21c5bf614fd92dce43010281b
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon Jun 21 17:51:35 2010 +0300

    xmoto: a 2D game.
    
    Thanks to brebs for the submission.
---
 games/xmoto/BUILD   |   15 +++++++++++++++
 games/xmoto/DEPENDS |   11 +++++++++++
 games/xmoto/DETAILS |   18 ++++++++++++++++++
 3 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/games/xmoto/BUILD b/games/xmoto/BUILD
new file mode 100644
index 0000000..9733158
--- /dev/null
+++ b/games/xmoto/BUILD
@@ -0,0 +1,15 @@
+(
+
+  OPTS+=" --with-internal-xdg=1 --enable-threads=posix --with-renderer-sdlGfx=0 --with-renderer-openGl=1 --disable-sdltest"  &&
+
+  # For compatibility with libpng 1.4
+  # From http://www.gentoo-portage.com/games-sports/xmoto
+  sedit "s:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:" src/image/tim_png.cpp  &&
+
+  default_game_build  &&
+
+  # Desktop menu entry & icon
+  install -D -m644 extra/xmoto.desktop /usr/share/applications/xmoto.desktop  &&
+  install -D -m644 extra/xmoto.xpm     /usr/share/pixmaps/xmoto.xpm
+
+) > $C_FIFO 2>&1
diff --git a/games/xmoto/DEPENDS b/games/xmoto/DEPENDS
new file mode 100644
index 0000000..5821c3f
--- /dev/null
+++ b/games/xmoto/DEPENDS
@@ -0,0 +1,11 @@
+depends curl
+depends jpeg
+depends sqlite
+depends ode
+depends libpng
+depends %GLX
+depends SDL_ttf
+depends SDL_mixer
+depends SDL_net
+depends lua
+depends dejavu-ttf
diff --git a/games/xmoto/DETAILS b/games/xmoto/DETAILS
new file mode 100644
index 0000000..d8ecd81
--- /dev/null
+++ b/games/xmoto/DETAILS
@@ -0,0 +1,18 @@
+          MODULE=xmoto
+         VERSION=0.5.3
+          SOURCE=$MODULE-$VERSION-src.tar.gz
+      SOURCE_URL=http://download.tuxfamily.org/$MODULE/$MODULE/$VERSION
+      SOURCE_VFY=sha1:7a2d8ab30b514932ce6907e5e0a7e926ee20cf8a
+        WEB_SITE=http://xmoto.tuxfamily.org
+         ENTERED=20100621
+         UPDATED=20100621
+           SHORT="A challenging 2D motocross platform game"
+
+cat << EOF
+X-Moto is a challenging 2D motocross platform game, where physics play
+an all-important role in the gameplay. You need to control your bike to
+its limit, if you want to have a chance of finishing the more difficult
+of the challenges.
+First you'll try just to complete the levels, while later you'll
+compete with yourself and others, racing against the clock.
+EOF


More information about the Lunar-commits mailing list