summaryrefslogtreecommitdiff
path: root/packages/brickout/brickout_2002.06.09.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/brickout/brickout_2002.06.09.bb')
-rw-r--r--packages/brickout/brickout_2002.06.09.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/brickout/brickout_2002.06.09.bb b/packages/brickout/brickout_2002.06.09.bb
index e69de29bb2..c3d1da6712 100644
--- a/packages/brickout/brickout_2002.06.09.bb
+++ b/packages/brickout/brickout_2002.06.09.bb
@@ -0,0 +1,41 @@
+DESCRIPTION = "Clone of the classic arcade game Asteroids for Qt/Embedded based palmtop environments w/ SDL"
+SECTION = "opie/games"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+DEPENDS = "libsdl-qpe libsdl-mixer libsdl-image"
+PR = "r4"
+
+SRC_URI = "ftp://ftp.sonic.net/pub/users/nbs/unix/agenda/brickout/src/brickout-${PV}.tar.gz \
+ file://directories.patch;patch=1"
+
+inherit palmtop
+
+EXTRA_QMAKEVARS_POST += " INCLUDEPATH+=${STAGING_INCDIR}/SDL LIBS+=-lSDL LIBS+=-lSDL_mixer LIBS+=-lSDLmain \
+ LIBS+=-lSDL_image LIBS+=-lpthread TARGET=brickout DEFINES+=USE_SDL "
+
+do_configure_prepend() {
+ qmake -project -o brickout.pro
+}
+
+do_install() {
+ install -d ${D}${palmtopdir}/bin \
+ ${D}${palmtopdir}/apps/Games \
+ ${D}${palmtopdir}/pics \
+ ${D}${palmtopdir}/share/brickout/sounds \
+ ${D}${palmtopdir}/share/brickout/music \
+ ${D}${palmtopdir}/share/brickout/images
+ install -D -m 0755 brickout ${D}${palmtopdir}/bin/brickout
+ install -D -m 0644 brickout.png ${D}${palmtopdir}/pics/brickout.png
+
+ cp -a sounds/* ${D}${palmtopdir}/share/brickout/sounds/
+ cp -a music/* ${D}${palmtopdir}/share/brickout/music/
+ cp -a images-sdl/* ${D}${palmtopdir}/share/brickout/images/
+
+ echo "[Desktop Entry]" >${D}${palmtopdir}/apps/Games/brickout.desktop
+ echo "Comment=Arkanoid game" >>${D}${palmtopdir}/apps/Games/brickout.desktop
+ echo "Exec=brickout" >>${D}${palmtopdir}/apps/Games/brickout.desktop
+ echo "Icon=brickout" >>${D}${palmtopdir}/apps/Games/brickout.desktop
+ echo "Type=Application" >>${D}${palmtopdir}/apps/Games/brickout.desktop
+ echo "Name=Brickout" >>${D}${palmtopdir}/apps/Games/brickout.desktop
+}