diff options
Diffstat (limited to 'packages/gemdropx')
-rw-r--r-- | packages/gemdropx/gemdropx-0.9/directories.patch | 16 | ||||
-rw-r--r-- | packages/gemdropx/gemdropx-0.9/gemdropx.png (renamed from packages/gemdropx/gemdropx-0.9/icon.png) | bin | 620 -> 620 bytes | |||
-rw-r--r-- | packages/gemdropx/gemdropx_0.9.bb | 41 |
3 files changed, 18 insertions, 39 deletions
diff --git a/packages/gemdropx/gemdropx-0.9/directories.patch b/packages/gemdropx/gemdropx-0.9/directories.patch deleted file mode 100644 index 4c3de83465..0000000000 --- a/packages/gemdropx/gemdropx-0.9/directories.patch +++ /dev/null @@ -1,16 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- gemdropx-0.9/gemdropx.c~directories 2002-02-12 09:45:34.000000000 +0100 -+++ gemdropx-0.9/gemdropx.c 2004-01-27 13:47:53.000000000 +0100 -@@ -21,7 +21,7 @@ - Qt/Embedded Support: February 11, 2002 - February 12, 2002 - */ - -- -+#define DATA_PREFIX "/opt/QtPalmtop/share/gemdropx/" - #include <stdio.h> - #include <stdlib.h> - #include <string.h> diff --git a/packages/gemdropx/gemdropx-0.9/icon.png b/packages/gemdropx/gemdropx-0.9/gemdropx.png Binary files differindex 654825a599..654825a599 100644 --- a/packages/gemdropx/gemdropx-0.9/icon.png +++ b/packages/gemdropx/gemdropx-0.9/gemdropx.png diff --git a/packages/gemdropx/gemdropx_0.9.bb b/packages/gemdropx/gemdropx_0.9.bb index 836c44c8b5..a50fd6b567 100644 --- a/packages/gemdropx/gemdropx_0.9.bb +++ b/packages/gemdropx/gemdropx_0.9.bb @@ -1,38 +1,33 @@ -DESCRIPTION = "Classic arcade puzzle game Qtopia/Opie - based on SDL" -SECTION = "opie/games" +DESCRIPTION = "Classic arcade puzzle game - SDL edition." PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" LICENSE = "GPL" HOMEPAGE = "http://www.newbreedsoftware.com/gemdropx/" -DEPENDS = "virtual/libqpe libsdl-qpe" -PR = "r3" +PR = "r4" + +APPIMAGE = "${WORKDIR}/gemdropx.png" SRC_URI = "ftp://ftp.billsgames.com/unix/x/gemdropx/src/gemdropx-${PV}.tar.gz \ - file://directories.patch;patch=1 \ - file://icon.png" + file://gemdropx.png" -inherit palmtop +inherit qmake sdl -EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${STAGING_INCDIR}/SDL LIBS+=-lSDL LIBS+=-lSDL_mixer \ - LIBS+=-lSDLmain LIBS+=-lSDL_image LIBS+=-lpthread" +EXTRA_QMAKEVARS_POST += "CONFIG-=qt \ + INCLUDEPATH+=${STAGING_INCDIR}/SDL \ + LIBS+=-lSDL \ + LIBS+=-lSDL_mixer \ + LIBS+=-lSDL_image \ + LIBS+=-lpthread \ + DEFINES+=DATA_PREFIX=\\"\"${datadir}/gemdropx/\\"\"" do_configure_prepend() { - qmake -project -o gemdropx.pro + qmake -project -nopwd gemdropx.c -o gemdropx.pro } do_install() { - install -d ${D}${palmtopdir}/bin \ - ${D}${palmtopdir}/apps/Games \ - ${D}${palmtopdir}/pics \ - ${D}${palmtopdir}/share/gemdropx - install -D -m 0755 gemdropx ${D}${palmtopdir}/bin/gemdropx - install -D -m 0644 ${WORKDIR}/icon.png ${D}${palmtopdir}/pics/gemdropx.png - cp -pPR data/* ${D}${palmtopdir}/share/gemdropx + install -d ${D}${bindir} + install -m 0755 gemdropx ${D}${bindir}/gemdropx + install -d ${D}${datadir}/gemdropx/ + cp -pPR data/* ${D}${datadir}/gemdropx/ - echo "[Desktop Entry]" >${D}${palmtopdir}/apps/Games/gemdropx.desktop - echo "Comment=Puzzle game" >>${D}${palmtopdir}/apps/Games/gemdropx.desktop - echo "Exec=gemdropx" >>${D}${palmtopdir}/apps/Games/gemdropx.desktop - echo "Icon=gemdropx" >>${D}${palmtopdir}/apps/Games/gemdropx.desktop - echo "Type=Application" >>${D}${palmtopdir}/apps/Games/gemdropx.desktop - echo "Name=GemdropX" >>${D}${palmtopdir}/apps/Games/gemdropx.desktop } |