aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk+
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-09-02 14:55:27 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-09 12:12:15 +0100
commitd1e9927ba145036cb56d7512026df1a8c21a85dd (patch)
treedfbee0d055cac27664e3d134a5d95aa946d978b7 /meta/recipes-gnome/gtk+
parentec972a24dbb93f822d69e253c4ecb563658029be (diff)
downloadopenembedded-core-contrib-d1e9927ba145036cb56d7512026df1a8c21a85dd.tar.gz
openembedded-core-contrib-d1e9927ba145036cb56d7512026df1a8c21a85dd.tar.bz2
openembedded-core-contrib-d1e9927ba145036cb56d7512026df1a8c21a85dd.zip
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). Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Diffstat (limited to 'meta/recipes-gnome/gtk+')
-rw-r--r--meta/recipes-gnome/gtk+/gtk+3.inc1
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 132955797c..83e9b927b0 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"