From 9b749f2f280324e2fae396bd9c24f274c3ebcf89 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 6 Oct 2017 16:13:23 +0000 Subject: Don't use libegl on nogfx target board Bug-AGL: SPEC-903 Change-Id: I4593873cc9cb0ad32ef4f377125901eee08daf04 Signed-off-by: Romain Forlot --- recipes-qt/qt5/qtbase_%.bbappend | 3 ++- recipes-qt/qt5/qtwayland_%.bbappend | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'recipes-qt') diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend index af2722d04..203b3264b 100644 --- a/recipes-qt/qt5/qtbase_%.bbappend +++ b/recipes-qt/qt5/qtbase_%.bbappend @@ -1,7 +1,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" DEPENDS_append_koelsch = " libegl" -DEPENDS_append_porter = " libegl" +#DEPENDS_append_porter = " libegl" +DEPENDS_append_porter = " ${@base_conditional('PREFERRED_PROVIDER_virtual/egl', 'mesa', 'mesa', 'libegl', d)}" PACKAGECONFIG_WAYLAND = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" PACKAGECONFIG_GL = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}" diff --git a/recipes-qt/qt5/qtwayland_%.bbappend b/recipes-qt/qt5/qtwayland_%.bbappend index ed9e3749a..a6a8f00b6 100644 --- a/recipes-qt/qt5/qtwayland_%.bbappend +++ b/recipes-qt/qt5/qtwayland_%.bbappend @@ -31,4 +31,4 @@ SRC_URI_append_checkforkrogoth = "\ DEPENDS_append_koelsch = " libegl gles-user-module" -DEPENDS_append_porter = " libegl gles-user-module" +DEPENDS_append_porter = " ${@base_conditional('PREFERRED_PROVIDER_virtual/egl', 'mesa', 'mesa', 'libegl gles-user-module', d)}" -- cgit 1.2.3-korg