diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-05-06 23:22:21 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-09 18:57:21 +0100 |
commit | 634735c81ad8cf5ae96d05c61e590fb39e29546a (patch) | |
tree | 2605ec87d32a453e062324485d5466d69cfb0bd9 /meta/recipes-connectivity/avahi | |
parent | d15a8d87b63aed730fe19a500223752a2dbab6b2 (diff) | |
download | poky-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>
Diffstat (limited to 'meta/recipes-connectivity/avahi')
-rw-r--r-- | meta/recipes-connectivity/avahi/avahi_0.8.bb | 2 |
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 |
36 | AVAHI_GTK ?= "gtk3" | 36 | AVAHI_GTK ?= "gtk3" |
37 | 37 | ||
38 | PACKAGECONFIG ??= "dbus ${AVAHI_GTK}" | 38 | PACKAGECONFIG ??= "dbus ${@bb.utils.contains_any('DISTRO_FEATURES','x11 wayland','${AVAHI_GTK}','',d)}" |
39 | PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" | 39 | PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" |
40 | PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+" | 40 | PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+" |
41 | PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3" | 41 | PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3" |