From: Alexander Kanavin Date: Fri, 2 Sep 2016 11:55:27 +0000 (+0300) Subject: gtk+3: disable gtk-doc when x11 is not available X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae773d6374edbb180e73fef7d9963c3ba132265e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gtk+3: disable gtk-doc when x11 is not available gtk-doc requires gdk/x11/gdkx.h which is not available if gdk x11 backend is disabled (due to jku's patch). (From OE-Core rev: d1e9927ba145036cb56d7512026df1a8c21a85dd) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc index 132955797cb..83e9b927b0b 100644 --- a/meta/recipes-gnome/gtk+/gtk+3.inc +++ b/meta/recipes-gnome/gtk+/gtk+3.inc @@ -32,6 +32,7 @@ EXTRA_OECONF += " \ --disable-cups \ --disable-colord \ WAYLAND_PROTOCOLS_SYSROOT_DIR=${STAGING_DIR}/${MACHINE} \ + ${@bb.utils.contains("DISTRO_FEATURES", "x11", "", "--disable-gtk-doc", d)} \ " EXTRA_OECONF[vardepsexclude] = "MACHINE"