summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFloris Bos <bos@je-eigen-domein.nl>2013-04-07 09:57:27 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-04-11 15:11:06 (GMT)
commit58b8a19f985f6f2037c5659a81ba724f0216ec42 (patch)
treed0df1936230ddd6ffeca913f6d20ad4b4ff83ca2
parent4948aa5e65212223ac755f5a3417b47c3d966bf1 (diff)
downloadbuildroot-58b8a19f985f6f2037c5659a81ba724f0216ec42.tar.gz
buildroot-58b8a19f985f6f2037c5659a81ba724f0216ec42.tar.bz2
qt5webkit: add EGL dir to includepath
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/qt5/qt5webkit/qt5webkit-egl-includepath.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/package/qt5/qt5webkit/qt5webkit-egl-includepath.patch b/package/qt5/qt5webkit/qt5webkit-egl-includepath.patch
new file mode 100644
index 0000000..de5bcff
--- /dev/null
+++ b/package/qt5/qt5webkit/qt5webkit-egl-includepath.patch
@@ -0,0 +1,40 @@
+From d6b1b33a12c0cf6c52667afafe34e58a7b00d0d8 Mon Sep 17 00:00:00 2001
+From: Floris Bos <bos@je-eigen-domein.nl>
+Date: Thu, 7 Mar 2013 19:25:17 +0100
+Subject: [PATCH] Webcore: add EGL and OpenGL (ES) INCDIR to INCLUDEPATH
+
+When building with 3D graphics support enabled, add the
+OpenGL (ES) and EGL include directories to the include path.
+
+Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
+---
+ Source/WebCore/Target.pri | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/Source/WebCore/Target.pri b/Source/WebCore/Target.pri
+index 2669748..421a849 100644
+--- a/Source/WebCore/Target.pri
++++ b/Source/WebCore/Target.pri
+@@ -3992,15 +3992,19 @@ use?(3D_GRAPHICS) {
+
+ contains(QT_CONFIG, opengl) | contains(QT_CONFIG, opengles2) {
+ !contains(QT_CONFIG, opengles2) {
++ INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
+ SOURCES += \
+ platform/graphics/opengl/GraphicsContext3DOpenGL.cpp \
+ platform/graphics/opengl/Extensions3DOpenGL.cpp
+ } else {
++ INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES2
+ SOURCES += \
+ platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp \
+ platform/graphics/opengl/Extensions3DOpenGLES.cpp
+ }
+
++ !isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL
++
+ HEADERS += platform/graphics/opengl/Extensions3DOpenGL.h
+
+ SOURCES += \
+--
+1.7.10.4
+