aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-10-30 10:44:03 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-10-30 14:02:03 +0200
commit4c1b1944d1cc9d736326728f311e42c3c0a472c5 (patch)
tree18e8b1733bfc67ac971a76ba0de150ac99b1e830
parentbb9bd7379eff5476f482bc3e17f433887705ad27 (diff)
downloadopenembedded-4c1b1944d1cc9d736326728f311e42c3c0a472c5.tar.gz
openembedded-4c1b1944d1cc9d736326728f311e42c3c0a472c5.tar.bz2
openembedded-4c1b1944d1cc9d736326728f311e42c3c0a472c5.zip
supertux(-qvga): include supertux recipe to supertux-qvga
* if do_configure in supertux-qvga fails for you, then it's because gp2x.patch adds libmikmod to configure.ac and libmikmod-config returns -L/usr/lib, libmikmod should be fixed Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes/supertux/supertux-qvga_0.1.3.bb41
-rw-r--r--recipes/supertux/supertux_0.1.3.bb8
2 files changed, 13 insertions, 36 deletions
diff --git a/recipes/supertux/supertux-qvga_0.1.3.bb b/recipes/supertux/supertux-qvga_0.1.3.bb
index d34e5d91d4..bb567107e6 100644
--- a/recipes/supertux/supertux-qvga_0.1.3.bb
+++ b/recipes/supertux/supertux-qvga_0.1.3.bb
@@ -1,41 +1,19 @@
-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.21"
+require supertux_${PV}.bb
-APPIMAGE = "${WORKDIR}/supertux.png"
-APPDESKTOP = "${WORKDIR}/supertux.desktop"
+DESCRIPTION += "(QVGA, size-optimized version)"
+DEPENDS += "imagemagick-native pngcrush-native"
-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://install-no-overwrite.patch \
+SRC_URI += " \
file://supertux-smallsize-data.tar.bz2 \
file://gp2x.patch \
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"
+S = "${WORKDIR}/supertux-${PV}"
-inherit autotools sdl
+EXTRA_OECONF += " --enable-320x240 "
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
@@ -52,10 +30,3 @@ do_install_prepend() {
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"
-
-SRC_URI[md5sum] = "f2fc288459f33d5cd8f645fbca737a63"
-SRC_URI[sha256sum] = "0092588351776626955339caaa62d12ce5954bb80c5f6952f60a122f53c2ad97"
diff --git a/recipes/supertux/supertux_0.1.3.bb b/recipes/supertux/supertux_0.1.3.bb
index b4b81e916b..fbe44768bf 100644
--- a/recipes/supertux/supertux_0.1.3.bb
+++ b/recipes/supertux/supertux_0.1.3.bb
@@ -3,9 +3,10 @@ in a style similar to the original SuperMario games."
SECTION = "games"
PRIORITY = "optional"
LICENSE = "GPL"
-PR = "r5"
+PR = "r6"
RDEPENDS_${PN} += "libmikmod"
+RRECOMMENDS_${PN} = "${PN}-levels-bonus1 ${PN}-levels-bonus2"
APPIMAGE = "${WORKDIR}/supertux.png"
APPDESKTOP = "${WORKDIR}/supertux.desktop"
@@ -23,5 +24,10 @@ EXTRA_OECONF = "--disable-opengl"
inherit autotools sdl
+PACKAGES_prepend = " ${PN}-levels-bonus1 ${PN}-levels-bonus2 "
+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"
+
SRC_URI[md5sum] = "f2fc288459f33d5cd8f645fbca737a63"
SRC_URI[sha256sum] = "0092588351776626955339caaa62d12ce5954bb80c5f6952f60a122f53c2ad97"