fails layer check perhaps it has some cross layer deps

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/2693

On Wed, Apr 26, 2023 at 1:35 PM Randolph Sapp via
lists.openembedded.org <[email protected]> wrote:
>
> From: Randolph Sapp <[email protected]>
>
> GLFW has the ability to use a wayland backend. This patch adds a config
> for it and attempts to automatically resolve the most common collision
> since the wayland and x11 backends are mutually exclusive.
>
> Signed-off-by: Randolph Sapp <[email protected]>
> ---
>  meta-oe/recipes-core/glfw/glfw_3.3.bb | 15 +++++++++++++--
>  1 file changed, 13 insertions(+), 2 deletions(-)
>
> diff --git a/meta-oe/recipes-core/glfw/glfw_3.3.bb 
> b/meta-oe/recipes-core/glfw/glfw_3.3.bb
> index b31bba6b6b..29d7b5de42 100644
> --- a/meta-oe/recipes-core/glfw/glfw_3.3.bb
> +++ b/meta-oe/recipes-core/glfw/glfw_3.3.bb
> @@ -20,7 +20,18 @@ EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON 
> -DGLFW_BUILD_DOCS=OFF"
>
>  CFLAGS += "-fPIC"
>
> -DEPENDS = "libpng libglu zlib libxrandr libxinerama libxi libxcursor"
> -REQUIRED_DISTRO_FEATURES = "x11 opengl"
> +DEPENDS = "libpng libglu zlib"
> +REQUIRED_DISTRO_FEATURES = "opengl"
> +ANY_OF_DISTRO_FEATURES = "wayland x11"
> +
> +# upstream considers x11 and wayland backends mutually exclusive and will
> +# prioritize wayland if it is enabled
> +
> +PACKAGECONFIG ??= " \
> +    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', 'x11', d)} 
> \
> +"
> +
> +PACKAGECONFIG[wayland] = "-DGLFW_USE_WAYLAND=ON,,wayland wayland-native 
> wayland-protocols extra-cmake-modules libxkbcommon"
> +PACKAGECONFIG[x11] = ",,libxrandr libxinerama libxi libxcursor"
>
>  COMPATIBLE_HOST:libc-musl = "null"
> --
> 2.40.0
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102206): 
https://lists.openembedded.org/g/openembedded-devel/message/102206
Mute This Topic: https://lists.openembedded.org/mt/98523628/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to