diff options
author | Michael Lauer <mickey@vanille-media.de> | 2006-04-24 11:57:19 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-04-24 11:57:19 +0000 |
commit | 43a546229848e2ed36de23c1f479165637224c38 (patch) | |
tree | 508c587e1b32ca5c9036b53a3683d5bfe058fafa /packages/vectoroids | |
parent | 267fee5170271af78d727ea7f11d43118bba33d8 (diff) |
vectoroids: decouple from opie using sdl.bbclass
Diffstat (limited to 'packages/vectoroids')
-rw-r--r-- | packages/vectoroids/vectoroids_1.1.0.bb | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/packages/vectoroids/vectoroids_1.1.0.bb b/packages/vectoroids/vectoroids_1.1.0.bb index a283b023ce..cd8580d896 100644 --- a/packages/vectoroids/vectoroids_1.1.0.bb +++ b/packages/vectoroids/vectoroids_1.1.0.bb @@ -1,35 +1,31 @@ -DESCRIPTION = "Clone of the classic arcade game Asteroids for Qtopia/Opie - based on SDL" +DESCRIPTION = "Clone of the classic arcade game Asteroids - SDL edition." SECTION = "opie/games" PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" LICENSE = "GPL" -DEPENDS = "virtual/libqpe libsdl-qpe libsdl-image libsdl-mixer" -PR = "r1" +PR = "r2" + +APPIMAGE = "data/images/icon.png" +APPNAME = "vectoroids-${PV}" SRC_URI = "ftp://ftp.billsgames.com/unix/x/vectoroids/src/vectoroids-${PV}.tar.gz" -inherit palmtop +inherit qmake sdl -EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${STAGING_INCDIR}/SDL LIBS+=-lSDL LIBS+=-lSDL_mixer \ - LIBS+=-lSDLmain LIBS+=-lSDL_image LIBS+=-lpthread LIBS+=-lqpe CONFIG+=qte" +EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${STAGING_INCDIR}/SDL CONFIG-=qt \ + LIBS+=-lSDL \ + LIBS+=-lSDL_mixer \ + LIBS+=-lSDL_image \ + LIBS+=-lpthread \ + DEFINES+=DATA_PREFIX=\\"\"${datadir}/vectoroids/\\"\"" do_configure_prepend() { qmake -project vectoroids.pro } do_install() { - install -d ${D}${palmtopdir}/apps/Games \ - ${D}${palmtopdir}/pics \ - ${D}${palmtopdir}/share/vectoroids \ - ${D}${palmtopdir}/bin - install -m 0755 vectoroids-${PV} ${D}${palmtopdir}/bin/vectoroids - install -m 0644 data/images/icon.png ${D}${palmtopdir}/pics/vectoroids.png - cp -pPR data/* ${D}${palmtopdir}/share/vectoroids - - echo "[Desktop Entry]" >${D}${palmtopdir}/apps/Games/vectoroids.desktop - echo "Comment=Asteroids game" >>${D}${palmtopdir}/apps/Games/vectoroids.desktop - echo "Exec=vectoroids" >>${D}${palmtopdir}/apps/Games/vectoroids.desktop - echo "Icon=vectoroids" >>${D}${palmtopdir}/apps/Games/vectoroids.desktop - echo "Type=Application" >>${D}${palmtopdir}/apps/Games/vectoroids.desktop - echo "Name=Vectoroids" >>${D}${palmtopdir}/apps/Games/vectoroids.desktop + install -d ${D}${bindir} + install -m 0755 ${APPNAME} ${D}${bindir} + install -d ${D}${datadir}/vectoroids/ + cp -pPR data/* ${D}${datadir}/vectoroids/ } |