summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-10-25 10:19:32 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-10-25 10:19:32 +0000
commit7bfdcfa25e0d78d2bd4e09b933441bad09a729f0 (patch)
tree20185a8e45902ebb8dfb8e5be7082ba0178f9740
parent66da901ca783a5bf2972e6a760d1dfe0992c27c0 (diff)
fix linking of qpe-sdl apps by defining CONFIG+=qt and LIBS+=-lqpe in palmtop.oeclass
BKrev: 417cd334TIfnD_KeJDWvabdMprnW0g
-rw-r--r--brickout/brickout_2002.06.09.oe4
-rw-r--r--classes/palmtop.oeclass10
-rw-r--r--gemdropx/gemdropx_0.9.oe4
3 files changed, 14 insertions, 4 deletions
diff --git a/brickout/brickout_2002.06.09.oe b/brickout/brickout_2002.06.09.oe
index d249834c0f..aab6ba1575 100644
--- a/brickout/brickout_2002.06.09.oe
+++ b/brickout/brickout_2002.06.09.oe
@@ -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
diff --git a/classes/palmtop.oeclass b/classes/palmtop.oeclass
index e69de29bb2..c7740c266b 100644
--- a/classes/palmtop.oeclass
+++ b/classes/palmtop.oeclass
@@ -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}"
diff --git a/gemdropx/gemdropx_0.9.oe b/gemdropx/gemdropx_0.9.oe
index ef572c850d..3b2dbadf83 100644
--- a/gemdropx/gemdropx_0.9.oe
+++ b/gemdropx/gemdropx_0.9.oe
@@ -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