mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
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>
This commit is contained in:
parent
0fb5dee3e6
commit
7e6e181ba8
@ -71,7 +71,6 @@ AVAHI_CONF_OPTS = \
|
|||||||
--disable-qt3 \
|
--disable-qt3 \
|
||||||
--disable-qt4 \
|
--disable-qt4 \
|
||||||
--disable-gdbm \
|
--disable-gdbm \
|
||||||
--disable-python-dbus \
|
|
||||||
--disable-pygtk \
|
--disable-pygtk \
|
||||||
--disable-mono \
|
--disable-mono \
|
||||||
--disable-monodoc \
|
--disable-monodoc \
|
||||||
@ -144,6 +143,14 @@ else
|
|||||||
AVAHI_CONF_OPTS += --disable-python
|
AVAHI_CONF_OPTS += --disable-python
|
||||||
endif
|
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)
|
AVAHI_MAKE_OPTS += $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),LIBS=-lintl)
|
||||||
|
|
||||||
define AVAHI_USERS
|
define AVAHI_USERS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user