[oe-commits] Frederik Sdun : mokomaze 0.5.5 recipe

git version control git at git.openembedded.org
Tue Aug 18 20:21:25 UTC 2009


Module: openembedded.git
Branch: shr/import
Commit: c826ff7d0e8ccef9529cd6a7eb1ba3e003d043ce
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c826ff7d0e8ccef9529cd6a7eb1ba3e003d043ce

Author: Frederik Sdun <frederik.sdun at googlemail.com>
Date:   Tue Aug 18 19:17:46 2009 +0000

mokomaze 0.5.5 recipe

Hi,

I wrote a recipe for mokomaze 0.5.5.
The Devs added some more levels designed by the community and a "pass-through-checkpoints" mode.
diff of the recipe and the new patch attached

regards, Frederik

---

 .../mokomaze-0.5.5/avoid_dim_suspend.patch         |   13 ++++++++++++
 recipes/mokomaze/mokomaze_0.5.5.bb                 |   21 ++++++++++++++++++++
 2 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/recipes/mokomaze/mokomaze-0.5.5/avoid_dim_suspend.patch b/recipes/mokomaze/mokomaze-0.5.5/avoid_dim_suspend.patch
new file mode 100644
index 0000000..0d8bef5
--- /dev/null
+++ b/recipes/mokomaze/mokomaze-0.5.5/avoid_dim_suspend.patch
@@ -0,0 +1,13 @@
+--- a/data/config.json	2009-08-18 20:53:19.000000000 +0200
++++ b/data/config.json	2009-08-18 21:09:27.000000000 +0200
+@@ -26,8 +26,8 @@
+     },
+ 
+     "exec": {
+-        "init": "",
+-        "final": ""
++        "init": "dbus-send --system --type=method_call --dest=org.shr.ophonekitd.Usage /org/shr/ophonekitd/Usage org.shr.ophonekitd.Usage.RequestResource string:Display",
++        "final": "dbus-send --system --type=method_call --dest=org.shr.ophonekitd.Usage /org/shr/ophonekitd/Usage org.shr.ophonekitd.Usage.ReleaseResource string:Display"
+     }
+ 
+ }
diff --git a/recipes/mokomaze/mokomaze_0.5.5.bb b/recipes/mokomaze/mokomaze_0.5.5.bb
new file mode 100644
index 0000000..445f086
--- /dev/null
+++ b/recipes/mokomaze/mokomaze_0.5.5.bb
@@ -0,0 +1,21 @@
+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"
+
+PR="r0"
+SRC_URI="http://mokomaze.projects.openmoko.org/files/${PN}-${PV}+git8.tar.gz \
+         file://avoid_dim_suspend.patch;patch=1"
+
+S=${WORKDIR}/${PN}-${PV}+git8
+
+inherit autotools
+
+EXTRA_OECONF="FONTDIR=${datadir}/fonts/truetype"
+
+# needed for ode
+LDFLAGS += "-lstdc++"
+





More information about the Openembedded-commits mailing list