[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2381/8267] gtk+3: disable gtk-doc when x11 is not available



commit ae773d6374edbb180e73fef7d9963c3ba132265e
Author: Alexander Kanavin <alexander kanavin linux intel com>
Date:   Fri Sep 2 14:55:27 2016 +0300

    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 <alexander kanavin linux intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-gnome/gtk+/gtk+3.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc
index 1329557..83e9b92 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"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]