aboutsummaryrefslogtreecommitdiff
path: root/package/avahi
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2014-12-02 17:15:01 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-07 23:48:53 +0100
commit7e6e181ba894ec644ca0f807a437f97d91c76b59 (patch)
tree1ffaa07d8ed24a70a78b740381e7450d5d60a355 /package/avahi
parent0fb5dee3e6a78afba125e613e943db16d82046e3 (diff)
downloadbuildroot-7e6e181ba894ec644ca0f807a437f97d91c76b59.tar.gz
buildroot-7e6e181ba894ec644ca0f807a437f97d91c76b59.tar.bz2
avahi: add optional dbus-python support
Without this, the python support doesn't do anything. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/avahi')
-rw-r--r--package/avahi/avahi.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk
index 4e5dbc669d..e42f78d7c8 100644
--- a/package/avahi/avahi.mk
+++ b/package/avahi/avahi.mk
@@ -71,7 +71,6 @@ AVAHI_CONF_OPTS = \
--disable-qt3 \
--disable-qt4 \
--disable-gdbm \
- --disable-python-dbus \
--disable-pygtk \
--disable-mono \
--disable-monodoc \
@@ -144,6 +143,14 @@ else
AVAHI_CONF_OPTS += --disable-python
endif
+ifeq ($(BR2_PACKAGE_DBUS_PYTHON),y)
+AVAHI_CONF_OPTS += --enable-python-dbus
+AVAHI_CONF_ENV += py_cv_mod_dbus_=yes
+AVAHI_DEPENDENCIES += dbus-python
+else
+AVAHI_CONF_OPTS += --disable-python-dbus
+endif
+
AVAHI_MAKE_OPTS += $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),LIBS=-lintl)
define AVAHI_USERS