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>
This commit is contained in:
Khem Raj
2020-04-13 14:38:51 -07:00
parent d7937a3ec0
commit 0e33b7e0c9
@@ -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"