From 236ee589a8921c2f96c18f02d0ed3aeab38958b5 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 27 Mar 2007 23:17:10 +0000 Subject: snes9x-sdl-qpe 1.39: Support both qte and qte-mt. * Closes #1975. --- packages/snes9x/snes9x-sdl-qpe_1.39.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/snes9x/snes9x-sdl-qpe_1.39.bb b/packages/snes9x/snes9x-sdl-qpe_1.39.bb index 4e8a294d2b..adf49650d9 100644 --- a/packages/snes9x/snes9x-sdl-qpe_1.39.bb +++ b/packages/snes9x/snes9x-sdl-qpe_1.39.bb @@ -3,7 +3,7 @@ SECTION = "opie/games" PRIORITY = "optional" DEPENDS = "libsdl-qpe" LICENSE = "snes9x" -PR = "r3" +PR = "r4" SRC_URI = "http://www.vanille.de/mirror/snes9x-sdl-${PV}.tar.bz2 \ file://compile.patch;patch=1" @@ -13,10 +13,12 @@ FILESPATH = "${FILE_DIRNAME}/${PN}-${PV}:${FILE_DIRNAME}/snes9x-sdl-${PV}:${FILE inherit qmake-base +QT_LIBRARY = '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte",d)}' + do_compile() { oe_runmake CC="${CC}" CCC="${CXX}" \ INCLUDES="-I${STAGING_INCDIR} `sdl-config --cflags`" \ - LDLIBS="`sdl-config --libs` -L${OE_QMAKE_LIBDIR_QT} -Wl,-rpath-link,${STAGING_LIBDIR} -lqpe -lqte" + LDLIBS="`sdl-config --libs` -L${OE_QMAKE_LIBDIR_QT} -Wl,-rpath-link,${STAGING_LIBDIR} -lqpe -l${QT_LIBRARY}" } do_install() { -- cgit v1.2.3