From edc2f08be8d50b539bddb9386424bc2dd2e647bd Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Mon, 17 Apr 2006 13:42:54 +0000 Subject: snes9x-sdl-qpe: fix linking NOTE: shouldn't sdl-config take care about that in the qpe case? --- packages/snes9x/snes9x-sdl-qpe_1.39.bb | 8 +++++--- packages/snes9x/snes9x-sdl_1.39.bb | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'packages/snes9x') 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" diff --git a/packages/snes9x/snes9x-sdl_1.39.bb b/packages/snes9x/snes9x-sdl_1.39.bb index 9c37b12f00..ce6f5fa265 100644 --- a/packages/snes9x/snes9x-sdl_1.39.bb +++ b/packages/snes9x/snes9x-sdl_1.39.bb @@ -2,14 +2,13 @@ DESCRIPTION = "Super Nintendo Emulator based on SDL" SECTION = "games" PRIORITY = "optional" DEPENDS = "virtual/libsdl zlib" -PR = "r2" LICENSE = "snes9x" +PR = "r2" + SRC_URI = "http://www.vanille.de/mirror/snes9x-sdl-${PV}.tar.bz2 \ file://compile.patch;patch=1" S = "${WORKDIR}/snes9x-sdl-${PV}" -FILES_${PN} = "${bindir}/snes9x" - do_compile() { oe_runmake CC="${CC}" CCC="${CXX} -fno-rtti -fno-exceptions" \ INCLUDES="-I${STAGING_INCDIR} `sdl-config --cflags`" \ @@ -21,3 +20,4 @@ do_install() { install -m 0755 snes9x ${D}${bindir}/snes9x } +FILES_${PN} = "${bindir}/snes9x" -- cgit v1.2.3