aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mokomaze
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2009-11-18 09:32:34 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2009-11-18 09:57:54 +0100
commiteb6c2559a6c8f5c9f4a176b31d021d3b3db9447f (patch)
tree264b8dc62dfbe35a9e726d7e047dabf3fdfb7b4d /recipes/mokomaze
parent4334f1f2c7f07c94d1a13cc68026d797a55b0f2e (diff)
downloadopenembedded-eb6c2559a6c8f5c9f4a176b31d021d3b3db9447f.tar.gz
mokomaze: new recipe from SHR
Diffstat (limited to 'recipes/mokomaze')
-rw-r--r--recipes/mokomaze/files/fsoraw.patch11
-rw-r--r--recipes/mokomaze/mokomaze_0.5.5.bb25
2 files changed, 36 insertions, 0 deletions
diff --git a/recipes/mokomaze/files/fsoraw.patch b/recipes/mokomaze/files/fsoraw.patch
new file mode 100644
index 0000000000..e59f0cf6a7
--- /dev/null
+++ b/recipes/mokomaze/files/fsoraw.patch
@@ -0,0 +1,11 @@
+--- mokomaze-0.5.5+git8/data/mokomaze.desktop 2009-08-22 12:14:31.000000000 +0200
++++ mokomaze-0.5.5+git8/data/mokomaze.desktop 2009-08-22 12:50:30.000000000 +0200
+@@ -4,7 +4,7 @@
+ Encoding=UTF-8
+ Version=0.5
+ Type=Application
+-Exec=mokomaze
++Exec=fsoraw -r Display mokomaze
+ Terminal=false
+ Categories=Game;
+ X-MB-SingleInstance=true
diff --git a/recipes/mokomaze/mokomaze_0.5.5.bb b/recipes/mokomaze/mokomaze_0.5.5.bb
new file mode 100644
index 0000000000..8c45e620fe
--- /dev/null
+++ b/recipes/mokomaze/mokomaze_0.5.5.bb
@@ -0,0 +1,25 @@
+DESCRIPTION="Classic game where you control a steel ball by tilting a wooden labyrinth"
+HOMEPAGE="http://mokomaze.projects.openmoko.org/"
+SECTION="x11/games"
+PRIORITY="optional"
+LICENSE="GPLv3"
+DEPENDS="libsdl-ttf libsdl-image ode"
+RDEPENDS="ttf-liberation-mono libpng"
+
+RDEPENDS_shr += "fsoraw"
+
+PR="r1"
+PV="0.5.5+git8"
+
+
+SRC_URI="http://mokomaze.projects.openmoko.org/files/${PN}-${PV}.tar.gz"
+
+SRC_URI_append_shr = "file://fsoraw.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF="FONTDIR=${datadir}/fonts/truetype --enable-rgb-swap"
+
+# needed for ode
+LDFLAGS += "-lstdc++"
+