* [Buildroot] [PATCH] avahi: add optional dbus-python support
@ 2014-12-02 16:15 Peter Korsgaard
2014-12-07 22:49 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Peter Korsgaard @ 2014-12-02 16:15 UTC (permalink / raw)
To: buildroot
Without this, the python support doesn't do anything.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/avahi/avahi.mk | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk
index 4e5dbc6..e42f78d 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
--
2.1.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] avahi: add optional dbus-python support
2014-12-02 16:15 [Buildroot] [PATCH] avahi: add optional dbus-python support Peter Korsgaard
@ 2014-12-07 22:49 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-12-07 22:49 UTC (permalink / raw)
To: buildroot
Dear Peter Korsgaard,
On Tue, 2 Dec 2014 17:15:01 +0100, Peter Korsgaard wrote:
> Without this, the python support doesn't do anything.
>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
> package/avahi/avahi.mk | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-07 22:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-02 16:15 [Buildroot] [PATCH] avahi: add optional dbus-python support Peter Korsgaard
2014-12-07 22:49 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox