fix linking of qpe-sdl apps by defining CONFIG+=qt and LIBS+=-lqpe in palmtop.oeclass
authorMichael Lauer <mickey@vanille-media.de>
Mon, 25 Oct 2004 10:19:32 +0000 (10:19 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Mon, 25 Oct 2004 10:19:32 +0000 (10:19 +0000)
BKrev: 417cd334TIfnD_KeJDWvabdMprnW0g

brickout/brickout_2002.06.09.oe
classes/palmtop.oeclass
gemdropx/gemdropx_0.9.oe

index d249834..aab6ba1 100644 (file)
@@ -4,7 +4,7 @@ PRIORITY = "optional"
 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
 LICENSE = "GPL"
 DEPENDS = "libsdl-qpe libsdl-mixer libsdl-image"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "ftp://ftp.sonic.net/pub/users/nbs/unix/agenda/brickout/src/brickout-${PV}.tar.gz \
            file://directories.patch;patch=1"
@@ -12,7 +12,7 @@ SRC_URI = "ftp://ftp.sonic.net/pub/users/nbs/unix/agenda/brickout/src/brickout-$
 inherit palmtop
 
 EXTRA_QMAKEVARS_POST += " INCLUDEPATH+=${STAGING_INCDIR}/SDL LIBS+=-lSDL LIBS+=-lSDL_mixer LIBS+=-lSDLmain \
-                       LIBS+=-lSDL_image LIBS+=-lpthread CONFIG+=qt LIBS+=-lqpe TARGET=brickout DEFINES+=USE_SDL "
+                       LIBS+=-lSDL_image LIBS+=-lpthread TARGET=brickout DEFINES+=USE_SDL "
 
 do_configure_prepend() {
         qmake -project -o brickout.pro
index e69de29..c7740c2 100644 (file)
@@ -0,0 +1,10 @@
+# basically a placeholder for something more fancy
+# for now, just declare some things
+
+inherit qmake
+
+EXTRA_QMAKEVARS_POST_append = " DEFINES+=QWS LIBS+=-lqpe CONFIG+=qt"
+
+DEPENDS_prepend = "virtual/libqpe uicmoc-native "
+
+FILES_${PN} = "${palmtopdir}"
index ef572c8..3b2dbad 100644 (file)
@@ -5,7 +5,7 @@ MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
 LICENSE = "GPL"
 HOMEPAGE = "http://www.newbreedsoftware.com/gemdropx/"
 DEPENDS = "virtual/libqpe libsdl-qpe"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "ftp://ftp.sonic.net/pub/users/nbs/unix/x/gemdropx/src/gemdropx-${PV}.tar.gz \
            file://directories.patch;patch=1 \
@@ -14,7 +14,7 @@ SRC_URI = "ftp://ftp.sonic.net/pub/users/nbs/unix/x/gemdropx/src/gemdropx-${PV}.
 inherit palmtop
 
 EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${STAGING_INCDIR}/SDL LIBS+=-lSDL LIBS+=-lSDL_mixer \
-                       LIBS+=-lSDLmain LIBS+=-lSDL_image LIBS+=-lpthread CONFIG+=qte"
+                       LIBS+=-lSDLmain LIBS+=-lSDL_image LIBS+=-lpthread"
 
 do_configure_prepend() {
         qmake -project -o gemdropx.pro