Skip to contentSkip to conversation

avahi: add optional dbus-python support

PATCH New Peter Korsgaard 2 participants 2 messages Dec 2, 2014 – Dec 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 avahi: add optional dbus-python support

Without this, the python support doesn't do anything.

---
 package/avahi/avahi.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
package/avahi/avahi.mk +8 -1
index 4e5dbc6..e42f78d 100644
@@ -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
Signature · 1 line
2.1.3
#1 lore raw

PATCH 1/1 avahi: add optional dbus-python support

Dear Peter Korsgaard,

Quoted 6 lines · Peter Korsgaard

Without this, the python support doesn't do anything.

---
 package/avahi/avahi.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com