diff options
author | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
commit | 5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch) | |
tree | 342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/brickout |
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/brickout')
-rw-r--r-- | org.handhelds.familiar/packages/brickout/brickout-2002.06.09/directories.patch | 18 | ||||
-rw-r--r-- | org.handhelds.familiar/packages/brickout/brickout_2002.06.09.bb | 41 |
2 files changed, 59 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/brickout/brickout-2002.06.09/directories.patch b/org.handhelds.familiar/packages/brickout/brickout-2002.06.09/directories.patch new file mode 100644 index 0000000..02b9561 --- /dev/null +++ b/org.handhelds.familiar/packages/brickout/brickout-2002.06.09/directories.patch @@ -0,0 +1,18 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- brickout-2002.06.09/brickout.c~directories 2002-06-10 09:47:53.000000000 +0200 ++++ brickout-2002.06.09/brickout.c 2004-01-26 16:39:25.000000000 +0100 +@@ -15,6 +15,10 @@ + May 17, 2001 - June 9, 2002 + */ + ++#define IMAGEDIR "/opt/QtPalmtop/share/brickout/images/" ++#define SOUNDDIR "/opt/QtPalmtop/share/brickout/sounds/" ++#define MUSICDIR "/opt/QtPalmtop/share/brickout/music/" ++#define THE_IMAGES + + #include <stdio.h> + #include <stdlib.h> diff --git a/org.handhelds.familiar/packages/brickout/brickout_2002.06.09.bb b/org.handhelds.familiar/packages/brickout/brickout_2002.06.09.bb new file mode 100644 index 0000000..891b615 --- /dev/null +++ b/org.handhelds.familiar/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.billsgames.com/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 -pPR sounds/* ${D}${palmtopdir}/share/brickout/sounds/ + cp -pPR music/* ${D}${palmtopdir}/share/brickout/music/ + cp -pPR 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 +} |