Message ID | 20230816093126.508832-1-m.vovard@phytec.de |
---|---|
State | Under Review |
Headers | show |
Series | [meta-python,v2] python3-kivy: Require X11 or Wayland in DISTRO_FEATURES | expand |
diff --git a/meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb b/meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb index ca1fc5f96..b02c55a85 100644 --- a/meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb +++ b/meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb @@ -43,7 +43,9 @@ export KIVY_GRAPHICS KIVY_CROSS_SYSROOT="${RECIPE_SYSROOT}" export KIVY_CROSS_SYSROOT -REQUIRED_DISTRO_FEATURES += "x11 opengl gobject-introspection-data" +REQUIRED_DISTRO_FEATURES += "opengl gobject-introspection-data" + +ANY_OF_DISTRO_FEATURES = "x11 wayland" DEPENDS += " \ gstreamer1.0 \
At least one of the following DISTRO_FEATURES needs to be present: X11 or Wayland. The recipe now work with pure Wayland. Signed-off-by: Marine Vovard <m.vovard@phytec.de> --- Change v1->v2: * Check that X11 or Wayland is present in DISTRO_FEATURES --- meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)