From: Andrew F. Davis Date: Tue, 17 Sep 2019 13:10:53 +0000 (-0400) Subject: weston: Set depends to the virtual needed not explicitly on Mesa X-Git-Tag: uninative-2.7~122 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8c39aa80e3624a225abfa76d459b6ce4da259b64;p=openembedded-core.git weston: Set depends to the virtual needed not explicitly on Mesa The dependency is for EGL and GLES2 libraries. On some systems these are not provided by Mesa, list what is actually needed so the system can choose the correct provider. Signed-off-by: Andrew F. Davis Acked-by: Denys Dmytriyenko Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/wayland/weston_7.0.0.bb b/meta/recipes-graphics/wayland/weston_7.0.0.bb index 5d2a9336f3..f9efdbd20a 100644 --- a/meta/recipes-graphics/wayland/weston_7.0.0.bb +++ b/meta/recipes-graphics/wayland/weston_7.0.0.bb @@ -36,9 +36,9 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev # Compositor choices # # Weston on KMS -PACKAGECONFIG[kms] = "-Dbackend-drm=true,-Dbackend-drm=false,drm udev virtual/mesa virtual/libgbm mtdev" +PACKAGECONFIG[kms] = "-Dbackend-drm=true,-Dbackend-drm=false,drm udev virtual/egl virtual/libgles2 virtual/libgbm mtdev" # Weston on Wayland (nested Weston) -PACKAGECONFIG[wayland] = "-Dbackend-wayland=true,-Dbackend-wayland=false,virtual/mesa" +PACKAGECONFIG[wayland] = "-Dbackend-wayland=true,-Dbackend-wayland=false,virtual/egl virtual/libgles2" # Weston on X11 PACKAGECONFIG[x11] = "-Dbackend-x11=true,-Dbackend-x11=false,virtual/libx11 libxcb libxcb libxcursor cairo" # Headless Weston