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>
This commit is contained in:
Hongxu Jia
2020-05-28 20:13:07 -07:00
committed by Martin Jansa
parent 62bb2ca66b
commit fbbd24d91b

View File

@@ -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 ?= ""