diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/supertux/supertux-qvga_0.1.3.bb | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/supertux/supertux-qvga_0.1.3.bb')
-rw-r--r-- | recipes/supertux/supertux-qvga_0.1.3.bb | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/recipes/supertux/supertux-qvga_0.1.3.bb b/recipes/supertux/supertux-qvga_0.1.3.bb new file mode 100644 index 0000000000..a38b8efbec --- /dev/null +++ b/recipes/supertux/supertux-qvga_0.1.3.bb @@ -0,0 +1,57 @@ +DESCRIPTION = "SuperTux is a classic 2D jump'n'run sidescroller game \ +in a style similar to the original SuperMario games (QVGA, size-optimized version)" +SECTION = "games" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libsdl-gfx imagemagick-native pngcrush-native" +PR = "r0.20" + +APPIMAGE = "${WORKDIR}/supertux.png" +APPDESKTOP = "${WORKDIR}/supertux.desktop" + +PACKAGES_prepend = " ${PN}-levels-bonus1 ${PN}-levels-bonus2 " + +SRC_URI = "${SOURCEFORGE_MIRROR}/super-tux/supertux-${PV}.tar.bz2 \ +# file://supertux-qvga-gfx.tar.bz2 \ + file://supertux-smallsize-data.tar.bz2 \ + file://gp2x.patch;patch=1 \ + file://img-resize.sh \ + file://supertux.png \ + file://supertux.desktop \ +# file://letters-black.png \ +# file://letters-blue.png \ +# file://letters-gold.png \ +# file://mousecursor.png \ +# file://credits.mod \ + " +S = "${WORKDIR}/supertux-${PV}" + +export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config" +EXTRA_OECONF = "--enable-320x240 --disable-opengl" + +inherit autotools sdl + +do_compile_prepend() { +# for f in letters-black.png letters-blue.png letters-gold.png mousecursor.png; do +# cp ${WORKDIR}/$f ${S}/data/images/status/ +# done + for d in background shared tilesets title worldmap; do + cd ${S}/data/images/$d + sh ${WORKDIR}/img-resize.sh + done +} + +do_install_prepend() { + # *-fast.* music plays when time for a level is running out + # byte-wise, it's the same file with few bytes changes (for .mod's). + # Well, seller feature, what to say, but we won't waste megabytes on + # that. Folks should learn to control tempo in there player lib. + rm -f ${S}/data/music/*-fast.* + # ogg is too heavy for embedded systems + rm -f ${S}/data/music/*.ogg +# cp ${WORKDIR}/*.mod ${S}/data/music/ +} + +FILES_${PN}-levels-bonus1 = "${datadir}/supertux/levels/bonus1 ${datadir}/supertux/levels/worldmaps/bonusisland1.stwm" +FILES_${PN}-levels-bonus2 = "${datadir}/supertux/levels/bonus2 ${datadir}/supertux/levels/worldmaps/bonusisland2.stwm" +FILES_${PN} += "${datadir}/supertux" |