blob: 02903e31a9d684af32f9513cb5e1d8a195b999a6 (
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
35
36
|
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/
}
SRC_URI[md5sum] = "fd0337e89778e2dba74461c555ea8e42"
SRC_URI[sha256sum] = "e50495d292a1d456c28044efbf07c16d8865f8d95e1caba86f4c5b2e3fb1d28f"
|