summaryrefslogtreecommitdiff
path: root/recipes/qt4
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-07-23 13:06:01 +0200
committerKoen Kooi <koen@openembedded.org>2009-07-23 13:06:01 +0200
commitfae2d88eb20c5d80cc48743c556c5c532afc7304 (patch)
tree78c6d2bda5ab27104de36b8e89f3d2bf2a94b8c2 /recipes/qt4
parent948a769029c5195d6962f9ceb70f57918815bdb0 (diff)
qt4 x11 gles git: add git version to build a gles1 + openvg 4.6rc version
Diffstat (limited to 'recipes/qt4')
-rw-r--r--recipes/qt4/qt4-x11-free-gles_git.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes/qt4/qt4-x11-free-gles_git.bb b/recipes/qt4/qt4-x11-free-gles_git.bb
new file mode 100644
index 0000000000..fa9703eb33
--- /dev/null
+++ b/recipes/qt4/qt4-x11-free-gles_git.bb
@@ -0,0 +1,40 @@
+# recipe to build GLES gfxdriver
+
+FILESPATHPKG =. "qt4-x11-free-${PV}:qt4-x11-free:"
+
+QT_GLFLAGS = "-opengl es1 -openvg"
+
+include qt4-x11-free.inc
+LICENSE += "LGPL"
+PR = "${INC_PR}.0+gitr${SRCREV}"
+
+DEPENDS += "virtual/egl"
+
+SRCREV = "9e54faf"
+SRC_URI = "git://git.gitorious.org/qt/qt.git;protocol=http \
+ file://0001-cross-compile.patch;patch=1 \
+ file://0002-fix-resinit-declaration.patch;patch=1 \
+ file://0003-no-tools.patch;patch=1 \
+ file://0004-no-qmake.patch;patch=1 \
+ file://0006-freetype-host-includes.patch;patch=1 \
+ file://0007-openssl-host-includes.patch;patch=1 \
+ file://0008-qt-lib-infix.patch;patch=1 \
+ file://g++.conf \
+ file://linux.conf \
+ "
+#SRC_URI += "file://sgx-hack.patch;patch=1"
+
+S = "${WORKDIR}/git"
+
+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 -lOpenVG" >> mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
+echo "QMAKE_LIBS_OPENGL_QT = -lEGL -lGLES_CM -lIMGegl -lsrv_um -lOpenVG" >> mkspecs/${OE_QMAKE_PLATFORM}/qmake.conf
+}
+
+
+