From: Carlos Alberto Lopez Perez Date: Fri, 3 Mar 2023 02:11:17 +0000 (+0100) Subject: mesa-demos: packageconfig weston should have a dependency on wayland-protocols X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~1527 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=89615b56899eed7b5c6ad731e2168d99a30fba6c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git mesa-demos: packageconfig weston should have a dependency on wayland-protocols wayland-protocols is a required depency of mesa-demos when the 'wayland' packageconfig option is enabled. Usually this doesn't lead to a build failure because mesa itself depends on wayland-protocols, but when using other graphics drivers this can cause the following build falure: | ../mesa-demos-8.5.0/meson.build:69:2: ERROR: Dependency "wayland-protocols" not found, tried pkgconfig | ERROR: meson failed Signed-off-by: Carlos Alberto Lopez Perez Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb b/meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb index 6e9b95e1e26..12f41d75a5f 100644 --- a/meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb +++ b/meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb @@ -30,7 +30,7 @@ PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1" PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2" PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},,freeglut" PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled," -PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native" +PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols" PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu" do_install:append() {