summaryrefslogtreecommitdiff
path: root/recipes/qt4/qt4-x11-free-gles_4.5.2.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-07-09 09:29:15 +0200
committerKoen Kooi <koen@openembedded.org>2009-07-09 09:29:15 +0200
commit09ba978139d5990f873d26c81fff7b1eb3c4e920 (patch)
treec35122968fbccade71796b27ac18f661d401900d /recipes/qt4/qt4-x11-free-gles_4.5.2.bb
parentea73bad66e153a56e13c4b3d0f72beed3b5ab13f (diff)
qt4-x11-free-gles: add an OopenGL ES1 version of qt4-x11-free
* currently sgx specific, but making it generic is easy
Diffstat (limited to 'recipes/qt4/qt4-x11-free-gles_4.5.2.bb')
-rw-r--r--recipes/qt4/qt4-x11-free-gles_4.5.2.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/qt4/qt4-x11-free-gles_4.5.2.bb b/recipes/qt4/qt4-x11-free-gles_4.5.2.bb
new file mode 100644
index 0000000000..55a8b907ab
--- /dev/null
+++ b/recipes/qt4/qt4-x11-free-gles_4.5.2.bb
@@ -0,0 +1,23 @@
+# recipe to build GLES gfxdriver
+
+FILESPATHPKG =. "qt4-x11-free-${PV}:qt4-x11-free:"
+
+QT_GLFLAGS = "-opengl es1"
+
+require qt4-x11-free_${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
+}
+
+
+