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.vov...@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(-)

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 \
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104423): 
https://lists.openembedded.org/g/openembedded-devel/message/104423
Mute This Topic: https://lists.openembedded.org/mt/100776122/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to