Sfoglia il codice sorgente

gnome-bluetooth: Add check to require x11

gnome-bluetooth needs libcanberra compiled with gtk+3 support, compiling
libcanberra with gtk+3 support would need gtk+ which needs X11 to
support the needed backend, other option is directfb which will not
worrk work with wayland(without X) config either

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 4 anni fa
parent
commit
0e33b7e0c9

+ 3 - 1
meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.34.1.bb

@@ -11,7 +11,9 @@ DEPENDS = "udev gtk+3 libnotify libcanberra bluez5"
 GNOMEBASEBUILDCLASS = "meson"
 GTKDOC_MESON_OPTION = "gtk_doc"
 
-inherit gnomebase gtk-icon-cache gtk-doc gobject-introspection upstream-version-is-even
+inherit features_check gnomebase gtk-icon-cache gtk-doc gobject-introspection upstream-version-is-even
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 # gtk-icon-cache bbclass will take care of this for us.
 EXTRA_OEMESON = "-Dicon_update=false"