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-29 12:33:24 +0200
committerKoen Kooi <koen@openembedded.org>2009-07-29 12:33:24 +0200
commit69a41a50ac43e82deaa9a0114c9f1c9a0c02ff0b (patch)
treedd4ba89ba9c422f7240b5c6ba9cab48e0879a51f /recipes/qt4/qt4-x11-free-gles_4.5.2.bb
parent6664caa93967e81bfeefe8a87a265565b8e32abb (diff)
qt4-x11-free-gles: reinstate it now the weird dependency problems have been resolved
* also switch to gles2, requires less patching
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.bb27
1 files changed, 27 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..944378d0dd
--- /dev/null
+++ b/recipes/qt4/qt4-x11-free-gles_4.5.2.bb
@@ -0,0 +1,27 @@
+# recipe to build GLES gfxdriver
+
+FILESPATHPKG =. "qt4-x11-free-${PV}:qt4-x11-free:"
+
+QT_GLFLAGS = "-opengl es2"
+
+QT_BASE_NAME = "qt4-gles"
+QT_BASE_LIB = "libqt-gles"
+
+require qt4-x11-free_${PV}.bb
+PR = "${INC_PR}.3"
+
+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 -lGLESv2 -lIMGegl -lsrv_um" >> mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
+echo "QMAKE_LIBS_OPENGL_QT = -lEGL -lGLES_CM -lGLESv2 -lIMGegl -lsrv_um" >> mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
+}
+
+
+