blob: 82952b0d7350c7faeb495079dcea2d5abb7a6d47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
DESCRIPTION = "Clone of the classic arcade game Asteroids for Qtopia/Opie - based on SDL"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
DEPENDS = "virtual/libc virtual/libqpe virtual/libsdl"
SRC_URI = "ftp://ftp.sonic.net/pub/users/nbs/unix/agenda/brickout/src/brickout-${PV}.tar.gz \
file://${FILESDIR}/directories.patch;patch=1"
inherit palmtop
EXTRA_QMAKEVARS_POST = " INCLUDEPATH+=${STAGING_INCDIR}/SDL LIBS+=-lSDL LIBS+=-lSDL_mixer LIBS+=-lSDL_image LIBS+=-lpthread CONFIG+=qte TARGET=brickout DEFINES+=USE_SDL "
do_configure_prepend() {
qmake -project -o brickout.pro
}
do_install() {
install -d ${D}${palmtopdir}/{bin,apps/Games,pics,share/brickout/{sounds,music,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}/Games/brickout.desktop
echo "Comment=Arkanoid game" >>${D}${palmtopdir}/Games/brickout.desktop
echo "Exec=brickout" >>${D}${palmtopdir}/Games/brickout.desktop
echo "Icon=brickout" >>${D}${palmtopdir}/Games/brickout.desktop
echo "Type=Application" >>${D}${palmtopdir}/Games/brickout.desktop
echo "Name=Brickout" >>${D}${palmtopdir}/Games/brickout.desktop
}
|