Skip to contentSkip to conversation

python3-kivy: Require X11 or Wayland in DISTRO_FEATURES

PATCH New Marine Vovard 1 participant 1 message Aug 21, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 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.

---
 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
index 684bca03e..b02c55a85 100644
@@ -43,7 +43,9 @@ export KIVY_GRAPHICS
 KIVY_CROSS_SYSROOT="${RECIPE_SYSROOT}"
 export KIVY_CROSS_SYSROOT
 
-REQUIRED_DISTRO_FEATURES += "x11 opengl"
+REQUIRED_DISTRO_FEATURES += "opengl gobject-introspection-data"
+
+ANY_OF_DISTRO_FEATURES = "x11 wayland"
 
 DEPENDS += " \
     gstreamer1.0 \
Signature · 1 line
2.25.1