summaryrefslogtreecommitdiffstats
path: root/package/avahi
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2014-10-26 05:30:02 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-10-26 05:30:02 +0100
commit4ee770e1847b16e6b671513aee492e8426f5398d (patch)
tree5b1b406b587e376604041acf0df645761e7800eb /package/avahi
parent7006bff9b3cda17b36bd45e94426b64f270c625e (diff)
downloadbuildroot-4ee770e1847b16e6b671513aee492e8426f5398d.tar.gz
buildroot-4ee770e1847b16e6b671513aee492e8426f5398d.zip
avahi: add optional gtk3 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/avahi')
-rw-r--r--package/avahi/avahi.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk
index 3b9ac6376a..752f2e7d5b 100644
--- a/package/avahi/avahi.mk
+++ b/package/avahi/avahi.mk
@@ -73,7 +73,6 @@ AVAHI_CONF_OPTS = \
--disable-gdbm \
--disable-python-dbus \
--disable-pygtk \
- --disable-gtk3 \
--disable-mono \
--disable-monodoc \
--disable-stack-protector \
@@ -123,6 +122,13 @@ else
AVAHI_CONF_OPTS += --disable-gtk
endif
+ifeq ($(BR2_PACKAGE_LIBGTK3),y)
+AVAHI_DEPENDENCIES += libgtk3
+AVAHI_CONF_OPTS += --enable-gtk3
+else
+AVAHI_CONF_OPTS += --disable-gtk3
+endif
+
ifeq ($(BR2_PACKAGE_PYTHON),y)
AVAHI_CONF_ENV += am_cv_pathless_PYTHON=python \
am_cv_path_PYTHON=$(PYTHON_TARGET_BINARY) \
OpenPOWER on IntegriCloud