diff options
Diffstat (limited to 'recipes/gemdropx')
-rw-r--r-- | recipes/gemdropx/gemdropx-0.9/gemdropx.png | bin | 0 -> 620 bytes | |||
-rw-r--r-- | recipes/gemdropx/gemdropx_0.9.bb | 33 |
2 files changed, 33 insertions, 0 deletions
diff --git a/recipes/gemdropx/gemdropx-0.9/gemdropx.png b/recipes/gemdropx/gemdropx-0.9/gemdropx.png Binary files differnew file mode 100644 index 0000000000..654825a599 --- /dev/null +++ b/recipes/gemdropx/gemdropx-0.9/gemdropx.png diff --git a/recipes/gemdropx/gemdropx_0.9.bb b/recipes/gemdropx/gemdropx_0.9.bb new file mode 100644 index 0000000000..688d3eb901 --- /dev/null +++ b/recipes/gemdropx/gemdropx_0.9.bb @@ -0,0 +1,33 @@ +DESCRIPTION = "Classic arcade puzzle game - SDL edition." +PRIORITY = "optional" +LICENSE = "GPL" +HOMEPAGE = "http://www.newbreedsoftware.com/gemdropx/" +PR = "r4" + +APPIMAGE = "${WORKDIR}/gemdropx.png" + +SRC_URI = "ftp://ftp.billsgames.com/unix/x/gemdropx/src/gemdropx-${PV}.tar.gz \ + file://gemdropx.png" + +inherit qmake sdl + +EXTRA_QMAKEVARS_POST += "CONFIG-=qt \ + INCLUDEPATH+=${STAGING_INCDIR}/SDL \ + LIBS+=-lSDL \ + LIBS+=-lSDL_mixer \ + LIBS+=-lSDL_image \ + LIBS+=-lpthread \ + LIBS+=-Wl,-rpath-link,${OE_QMAKE_LIBDIR_QT} \ + DEFINES+=DATA_PREFIX=\\"\"${datadir}/gemdropx/\\"\"" + +do_configure_prepend() { + qmake -project -nopwd gemdropx.c -o gemdropx.pro +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 gemdropx ${D}${bindir}/gemdropx + install -d ${D}${datadir}/gemdropx/ + cp -pPR data/* ${D}${datadir}/gemdropx/ + +} |