From fbbd24d91b8b6ff5a055aafa30e0f4b2940b7426 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Thu, 28 May 2020 20:13:07 -0700 Subject: qtwayland: conditional to support PACKAGECONFIG wayland-egl If opengl not in DISTRO_FEATURES, there will be no virtual/egl provider Signed-off-by: Hongxu Jia --- recipes-qt/qt5/qtwayland_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-qt/qt5') diff --git a/recipes-qt/qt5/qtwayland_git.bb b/recipes-qt/qt5/qtwayland_git.bb index 74ddc001..481ed2ef 100644 --- a/recipes-qt/qt5/qtwayland_git.bb +++ b/recipes-qt/qt5/qtwayland_git.bb @@ -20,7 +20,7 @@ SRC_URI += "file://0001-tst_seatv4-Include-array.patch" PACKAGECONFIG ?= " \ wayland-client \ wayland-server \ - wayland-egl \ + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'wayland-egl', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcomposite-egl xcomposite-glx', '', d)} \ " PACKAGECONFIG_class-native ?= "" -- cgit v1.2.3-54-g00ecf