python3-kivy: Require X11 or Wayland in DISTRO_FEATURES
PATCH v2 1/1 python3-kivy: Require X11 or Wayland in DISTRO_FEATURES
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 <[email protected]>
---
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(-)
meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb +3 -1
@@ -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 \
Signature · 1 line
2.25.1