summaryrefslogtreecommitdiff
path: root/classes/qtopia4core.bbclass
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2007-10-21 12:56:09 +0000
committerHolger Freyther <zecke@selfish.org>2007-10-21 12:56:09 +0000
commit48bc6e67b38a64f6a6c065ec15f02d042fea8c45 (patch)
tree02111ecd1c88175f2a2326cbf7a9fde9a14014a4 /classes/qtopia4core.bbclass
parent6ab2767ae321ad4f2f5891a7e359fd7273845bd5 (diff)
packages/webkit: Build the Qt/Qtopia port of WebKit as well.
Unifiy the WebKit recipe and allow to build the Gtk+, Qt and Qtopia port. Add classes/qtopia4core.bbclass to assist building for Qtopia. Change the WebKit.pro to currently not build the testkjs and DumpRenderTree test utilities.
Diffstat (limited to 'classes/qtopia4core.bbclass')
-rw-r--r--classes/qtopia4core.bbclass11
1 files changed, 11 insertions, 0 deletions
diff --git a/classes/qtopia4core.bbclass b/classes/qtopia4core.bbclass
new file mode 100644
index 0000000000..86bc7afc2f
--- /dev/null
+++ b/classes/qtopia4core.bbclass
@@ -0,0 +1,11 @@
+DEPENDS_prepend = "${@["qtopia-core ", ""][(bb.data.getVar('PN', d, 1) == 'qtopia-core')]}"
+inherit qmake2
+
+#
+# override variables set by qmake-base to compile QtopiaCore apps
+#
+export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/qtopiacore4"
+export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}/qtopiacore4/"
+export OE_QMAKE_LIBS_QT = "qt"
+export OE_QMAKE_LIBS_X11 = ""
+EXTRA_QMAKEVARS_POST += "LIBS+=-lQtNetwork "