summaryrefslogtreecommitdiff
path: root/packages/snes9x/snes9x-sdl-qpe_1.39.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/snes9x/snes9x-sdl-qpe_1.39.bb')
-rw-r--r--packages/snes9x/snes9x-sdl-qpe_1.39.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/snes9x/snes9x-sdl-qpe_1.39.bb b/packages/snes9x/snes9x-sdl-qpe_1.39.bb
index 6d9fadf062..4e8a294d2b 100644
--- a/packages/snes9x/snes9x-sdl-qpe_1.39.bb
+++ b/packages/snes9x/snes9x-sdl-qpe_1.39.bb
@@ -2,20 +2,21 @@ DESCRIPTION = "Super Nintendo Emulator based on SDL, QtE Palmtop Environments Ed
SECTION = "opie/games"
PRIORITY = "optional"
DEPENDS = "libsdl-qpe"
-PR = "r2"
LICENSE = "snes9x"
+PR = "r3"
+
SRC_URI = "http://www.vanille.de/mirror/snes9x-sdl-${PV}.tar.bz2 \
file://compile.patch;patch=1"
S = "${WORKDIR}/snes9x-sdl-${PV}"
FILESPATH = "${FILE_DIRNAME}/${PN}-${PV}:${FILE_DIRNAME}/snes9x-sdl-${PV}:${FILE_DIRNAME}/snes9x-sdl:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
-FILES_${PN} = "${palmtopdir}/bin/snes9x"
+inherit qmake-base
do_compile() {
oe_runmake CC="${CC}" CCC="${CXX}" \
INCLUDES="-I${STAGING_INCDIR} `sdl-config --cflags`" \
- LDLIBS="`sdl-config --libs` -Wl,-rpath-link,${STAGING_LIBDIR} -lqpe -lqte"
+ LDLIBS="`sdl-config --libs` -L${OE_QMAKE_LIBDIR_QT} -Wl,-rpath-link,${STAGING_LIBDIR} -lqpe -lqte"
}
do_install() {
@@ -23,3 +24,4 @@ do_install() {
install -m 0755 snes9x ${D}${palmtopdir}/bin/snes9x
}
+FILES_${PN} = "${palmtopdir}/bin/snes9x"