From 464002ea626da5febafcae705773077eba7f7b8a Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Wed, 2 Nov 2016 09:56:53 +0200 Subject: qtbase: add option to build without opengl Change-Id: I2a04a21feb476de93d2a8d641f66cfc1d2b91ef8 Reviewed-by: Mikko Gronoff Reviewed-by: Risto Avila --- recipes-qt/qt5/qtbase_git.bbappend | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/recipes-qt/qt5/qtbase_git.bbappend b/recipes-qt/qt5/qtbase_git.bbappend index 773e2de..ae86903 100644 --- a/recipes-qt/qt5/qtbase_git.bbappend +++ b/recipes-qt/qt5/qtbase_git.bbappend @@ -27,7 +27,11 @@ ## ############################################################################ -PACKAGECONFIG_GL = "gles2 eglfs" +PACKAGECONFIG_GL = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 eglfs', 'no-opengl', d)}" + +# emulator is exception due to qtglesstream +PACKAGECONFIG_GL_emulator = "gles2 eglfs" + PACKAGECONFIG += " \ accessibility \ alsa \ @@ -56,3 +60,6 @@ do_configure_prepend() { } SRCREV = "016b5bc949b6dfb2f76db2e8b40a40e7eaee6828" + +# temporarily here +PACKAGECONFIG[no-opengl] = "-no-opengl" -- cgit v1.2.3-54-g00ecf