mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
avahi: only use gtk if DISTRO_FEATURES includes x11
Otherwise avahi isn't buildable for an x11-less DISTRO. (From OE-Core rev: fa8dad209247b780590bc8476b5b16e6608d7907) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
00b47701f4
commit
52835dd301
@@ -14,7 +14,8 @@ SECTION = "network"
|
||||
# python scripts are under GPLv2+
|
||||
LICENSE = "GPLv2+ & LGPLv2.1+"
|
||||
|
||||
DEPENDS = "expat libcap libdaemon dbus glib-2.0 gtk+ libglade"
|
||||
X11DEPENDS = "gtk+ libglade"
|
||||
DEPENDS = "expat libcap libdaemon dbus glib-2.0 ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
|
||||
|
||||
SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \
|
||||
file://00avahi-autoipd \
|
||||
@@ -30,6 +31,7 @@ EXTRA_OECONF = "--with-distro=debian \
|
||||
--disable-mono \
|
||||
--disable-monodoc \
|
||||
--disable-gtk3 \
|
||||
${@base_contains('DISTRO_FEATURES', 'x11', '--enable-gtk', '--disable-gtk', d)} \
|
||||
--disable-qt3 \
|
||||
--disable-qt4 \
|
||||
--disable-python \
|
||||
|
||||
Reference in New Issue
Block a user