summaryrefslogtreecommitdiff
path: root/packages/freedroid
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-04-24 10:42:46 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-24 10:42:46 +0000
commitdb203dabecc3260c2c691b8ac26cfa01d92b7d4f (patch)
tree8bb0b66b667ecc6376e6605d6134ccc7b1c5a244 /packages/freedroid
parent5c26c1237a294e04c6a8542d11d15a4200f70a8a (diff)
freedroid: decouple from opie via sdl.bbclass
Diffstat (limited to 'packages/freedroid')
-rw-r--r--packages/freedroid/freedroid-1.0.2/freedroid.png (renamed from packages/freedroid/freedroid-1.0.2/icon.png)bin1074 -> 1074 bytes
-rw-r--r--packages/freedroid/freedroid_1.0.2.bb39
2 files changed, 11 insertions, 28 deletions
diff --git a/packages/freedroid/freedroid-1.0.2/icon.png b/packages/freedroid/freedroid-1.0.2/freedroid.png
index 6db9f21c38..6db9f21c38 100644
--- a/packages/freedroid/freedroid-1.0.2/icon.png
+++ b/packages/freedroid/freedroid-1.0.2/freedroid.png
Binary files differ
diff --git a/packages/freedroid/freedroid_1.0.2.bb b/packages/freedroid/freedroid_1.0.2.bb
index e51d22ca0b..be1087d691 100644
--- a/packages/freedroid/freedroid_1.0.2.bb
+++ b/packages/freedroid/freedroid_1.0.2.bb
@@ -1,42 +1,25 @@
-DESCRIPTION = "Clone of the classic Paradroid from C64 for Qtopia/Opie - based on SDL"
+DESCRIPTION = "Clone of the classic Paradroid from C64 - SDL version."
SECTION = "opie/games"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
HOMEPAGE = "http://freedroid.sourceforge.net/"
-DEPENDS = "virtual/libqpe libsdl-qpe libsdl-image"
-PR = "r1"
+PR = "r2"
+
+APPIMAGE = "${WORKDIR}/freedroid.png"
SRC_URI = "${SOURCEFORGE_MIRROR}/freedroid/freedroid-${PV}.tar.gz \
- file://icon.png"
+ file://freedroid.png"
-inherit autotools
+inherit autotools sdl
do_compile() {
- oe_runmake pkgdatadir=${palmtopdir}/share/freedroid
+ oe_runmake pkgdatadir=${datadir}/freedroid
}
do_install() {
- install -d ${D}${palmtopdir}/bin \
- ${D}${palmtopdir}/apps/Games \
- ${D}${palmtopdir}/pics \
- ${D}${palmtopdir}/share/freedroid/graphics \
- ${D}${palmtopdir}/share/freedroid/map \
- ${D}${palmtopdir}/share/freedroid/sound
- install -D -m 0755 src/freedroid ${D}${palmtopdir}/bin/freedroid
- install -D -m 0644 ${WORKDIR}/icon.png ${D}${palmtopdir}/pics/freedroid.png
-
- cp -pPR graphics/* ${D}${palmtopdir}/share/freedroid/graphics
- cp -pPR map/* ${D}${palmtopdir}/share/freedroid/map
- cp -pPR sound/* ${D}${palmtopdir}/share/freedroid/sound
-
- echo "[Desktop Entry]" >${D}${palmtopdir}/apps/Games/freedroid.desktop
- echo "Comment=A Paradroid Clone" >>${D}${palmtopdir}/apps/Games/freedroid.desktop
- echo "Exec=freedroid" >>${D}${palmtopdir}/apps/Games/freedroid.desktop
- echo "Icon=freedroid" >>${D}${palmtopdir}/apps/Games/freedroid.desktop
- echo "Type=Application" >>${D}${palmtopdir}/apps/Games/freedroid.desktop
- echo "Name=Freedroid" >>${D}${palmtopdir}/apps/Games/freedroid.desktop
+ install -d ${D}${bindir}
+ install -m 0755 src/freedroid ${D}${bindir}
+ install -d ${D}${datadir}/freedroid/
+ cp -a graphics map sound ${D}${datadir}/freedroid/
}
-
-FILES_${PN} = ""
-FILES_${PN} = "${palmtopdir}/"