summaryrefslogtreecommitdiff
path: root/vectoroids
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
committerChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
commit06f7d17e81de21a95e35b03453242bc62b05a6aa (patch)
treebc9c53bce2c6a2fdce3caf5bb45bc3f8634b56be /vectoroids
parent4b022a36ced4930af6bcdeb7d75a5ed10c4ac9cd (diff)
First pass of .oe cleanups.
BKrev: 40529f4crFtRY5_1DubNmWhDeHSmPw
Diffstat (limited to 'vectoroids')
-rw-r--r--vectoroids/vectoroids_1.1.0.oe31
1 files changed, 31 insertions, 0 deletions
diff --git a/vectoroids/vectoroids_1.1.0.oe b/vectoroids/vectoroids_1.1.0.oe
index e69de29bb2..258cf92554 100644
--- a/vectoroids/vectoroids_1.1.0.oe
+++ b/vectoroids/vectoroids_1.1.0.oe
@@ -0,0 +1,31 @@
+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"
+RDEPENDS = "libqpe1 libsdl"
+DEPENDS = "virtual/libc virtual/libqpe virtual/libsdl"
+
+SRC_URI = ftp://ftp.sonic.net/pub/users/nbs/unix/x/${PN}/src/${P}.tar.gz
+
+inherit palmtop
+
+EXTRA_QMAKEVARS_POST="INCLUDEPATH+=${STAGING_INCDIR}/SDL LIBS+=-lSDL LIBS+=-lSDL_mixer LIBS+=-lSDL_image LIBS+=-lpthread CONFIG+=qte"
+
+do_configure_prepend() {
+ qmake -project vectoroids.pro
+}
+
+do_install() {
+ install -d ${D}/opt/QtPalmtop/{bin,apps/Games,pics,share/vectoroids}
+ install -D -m 0755 vectoroids ${D}/opt/QtPalmtop/bin/vectoroids
+ install -D -m 0644 data/images/icon.png ${D}/opt/QtPalmtop/pics/vectoroids.png
+ cp -a data/* ${D}/opt/QtPalmtop/share/vectoroids
+
+ echo "[Desktop Entry]" >${D}/opt/QtPalmtop/apps/Games/vectoroids.desktop
+ echo "Comment=Asteroids game" >>${D}/opt/QtPalmtop/apps/Games/vectoroids.desktop
+ echo "Exec=vectoroids" >>${D}/opt/QtPalmtop/apps/Games/vectoroids.desktop
+ echo "Icon=vectoroids" >>${D}/opt/QtPalmtop/apps/Games/vectoroids.desktop
+ echo "Type=Application" >>${D}/opt/QtPalmtop/apps/Games/vectoroids.desktop
+ echo "Name=Vectoroids" >>${D}/opt/QtPalmtop/apps/Games/vectoroids.desktop
+}