summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-05-06 23:22:21 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-09 18:55:43 +0100
commitd3f6ffb148e8837f2f6ba81f07dbfd6bbec64726 (patch)
treed976f9cbccbe444c9688191c4491eb2f21215a05
parent096a03659cdfa99ca2b4b50ff37d6f2001d0bc90 (diff)
downloadopenembedded-core-contrib-d3f6ffb148e8837f2f6ba81f07dbfd6bbec64726.tar.gz
openembedded-core-contrib-d3f6ffb148e8837f2f6ba81f07dbfd6bbec64726.tar.bz2
openembedded-core-contrib-d3f6ffb148e8837f2f6ba81f07dbfd6bbec64726.zip
avahi: Cover gtk packageconfig with x11/wayland distro features
This ensures that avahi can compile for EGLFS distros (headless) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/avahi/avahi_0.8.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi_0.8.bb b/meta/recipes-connectivity/avahi/avahi_0.8.bb
index f4924fa1cb..3a2c24f9f8 100644
--- a/meta/recipes-connectivity/avahi/avahi_0.8.bb
+++ b/meta/recipes-connectivity/avahi/avahi_0.8.bb
@@ -35,7 +35,7 @@ DEPENDS = "expat libcap libdaemon glib-2.0 intltool-native"
# For gtk related PACKAGECONFIGs: gtk, gtk3
AVAHI_GTK ?= "gtk3"
-PACKAGECONFIG ??= "dbus ${AVAHI_GTK}"
+PACKAGECONFIG ??= "dbus ${@bb.utils.contains_any('DISTRO_FEATURES','x11 wayland','${AVAHI_GTK}','',d)}"
PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+"
PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3"