diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2020-05-28 20:13:07 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2020-07-07 12:04:32 +0200 |
commit | fbbd24d91b8b6ff5a055aafa30e0f4b2940b7426 (patch) | |
tree | 4c2e3b5d9dab1b4c07d9cc04ba1dee1296478ed3 | |
parent | 62bb2ca66bfc13f3216a207013a51c3b9a1b9f26 (diff) |
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 <hongxu.jia@windriver.com>
-rw-r--r-- | recipes-qt/qt5/qtwayland_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 ?= "" |