summaryrefslogtreecommitdiff
path: root/recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-07-23 18:50:04 +0200
committerKoen Kooi <koen@openembedded.org>2009-07-23 18:53:18 +0200
commitc1d2cab4a0b95a77822766ca28820ca4aede23a4 (patch)
tree6633ab6afacc6e2308b97e45044886bafd783b88 /recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled
parent21ccb58d1af2eef804941391ab780444aa98adf5 (diff)
qt*gles: rename to .disabled till the qt4 stuff becomes less magical
Diffstat (limited to 'recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled')
-rw-r--r--recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled b/recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled
new file mode 100644
index 0000000000..31bfe0fee2
--- /dev/null
+++ b/recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled
@@ -0,0 +1,25 @@
+# recipe to build GLES gfxdriver
+
+FILESPATHPKG =. "qt4-embedded-${PV}:qt4-embedded:"
+
+QT_CONFIG_FLAGS += "-D QT_QWS_CLIENTBLIT -depths 16,24,32 -opengl es1 -plugin-gfx-powervr"
+
+require qt4-embedded_${PV}.bb
+
+DEPENDS += "virtual/egl"
+SRC_URI += "file://sgx-hack.patch;patch=1"
+
+export EXTRA_QMAKE_MUNGE = " glmunge "
+
+glmunge() {
+ sed -e /QMAKE_INCDIR_OPENGL/d -e /QMAKE_LIBDIR_OPENGL/d -e /QMAKE_LIBS_OPENGL/d -e /QMAKE_LIBS_OPENGL_QT/d -i mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
+
+ echo "QMAKE_INCDIR_OPENGL = ${STAGING_INCDIR}/GLES/" >> mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
+ echo "QMAKE_LIBDIR_OPENGL = ${STAGING_LIBDIR}" >> mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
+ echo "QMAKE_LIBS_OPENGL = -lEGL -lGLES_CM -lIMGegl -lsrv_um" >> mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
+ echo "QMAKE_LIBS_OPENGL_QT = -lEGL -lGLES_CM -lIMGegl -lsrv_um" >> mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
+ sed -i -e s:MBX_SYNC:HW_SYNC:g ${S}/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwswsegl.c
+}
+
+
+