mokomaze: new recipe from SHR
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 18 Nov 2009 08:32:34 +0000 (09:32 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Wed, 18 Nov 2009 08:57:54 +0000 (09:57 +0100)
recipes/mokomaze/files/fsoraw.patch [new file with mode: 0644]
recipes/mokomaze/mokomaze_0.5.5.bb [new file with mode: 0644]

diff --git a/recipes/mokomaze/files/fsoraw.patch b/recipes/mokomaze/files/fsoraw.patch
new file mode 100644 (file)
index 0000000..e59f0cf
--- /dev/null
@@ -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 (file)
index 0000000..8c45e62
--- /dev/null
@@ -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++"
+