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:57:21 +0100
commit634735c81ad8cf5ae96d05c61e590fb39e29546a (patch)
tree2605ec87d32a453e062324485d5466d69cfb0bd9
parentd15a8d87b63aed730fe19a500223752a2dbab6b2 (diff)
downloadpoky-634735c81ad8cf5ae96d05c61e590fb39e29546a.tar.gz
avahi: Cover gtk packageconfig with x11/wayland distro features
This ensures that avahi can compile for EGLFS distros (headless) (From OE-Core rev: d3f6ffb148e8837f2f6ba81f07dbfd6bbec64726) 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"
35# For gtk related PACKAGECONFIGs: gtk, gtk3 35# For gtk related PACKAGECONFIGs: gtk, gtk3
36AVAHI_GTK ?= "gtk3" 36AVAHI_GTK ?= "gtk3"
37 37
38PACKAGECONFIG ??= "dbus ${AVAHI_GTK}" 38PACKAGECONFIG ??= "dbus ${@bb.utils.contains_any('DISTRO_FEATURES','x11 wayland','${AVAHI_GTK}','',d)}"
39PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" 39PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
40PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+" 40PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+"
41PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3" 41PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3"