[oe,meta-gnome,3/4] gnome-bluetooth: Look for x11 in distro features

Message ID 20170506191840.26070-3-raj.khem@gmail.com
State Accepted
Commit f6ef2b4a253a89ee371225dc779ce4f972441deb
Headers show
Series
  • [oe,meta-multimedia,1/4] gupnp-av: Update to 0.12.10
Related show

Commit Message

Khem Raj May 6, 2017, 7:18 p.m.
It does not compile without it

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.12.2

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb
index be62b371b..8cfd65af3 100644
--- a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb
+++ b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb
@@ -10,7 +10,8 @@  DEPENDS = "udev gtk+3 libnotify libcanberra intltool-native gnome-common-native
     ${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)} \
 "
 
-inherit gnomebase gtk-icon-cache gobject-introspection
+inherit gnomebase gtk-icon-cache gobject-introspection distro_features_check
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI[archive.md5sum] = "75d09c924468ec0c687f9ab3acf7f113"
 SRC_URI[archive.sha256sum] = "d8df073c331df0f97261869fb77ffcdbf4e3e4eaf460d3c3ed2b16e03d9c5398"