Message ID | 20230302175350.183840-3-fontaine.fabrice@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/4] package/gensio: add libglib2 optional dependency | expand |
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes: > mdns option is available since version 2.4.0 and > https://github.com/cminyard/gensio/commit/0b56fdd8205dff8f2343d1672e58b6583772f897 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Committed, thanks.
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes: > mdns option is available since version 2.4.0 and > https://github.com/cminyard/gensio/commit/0b56fdd8205dff8f2343d1672e58b6583772f897 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Committed to 2022.11.x, thanks.
diff --git a/package/gensio/gensio.mk b/package/gensio/gensio.mk index 89c734eec0..3374313c0f 100644 --- a/package/gensio/gensio.mk +++ b/package/gensio/gensio.mk @@ -9,7 +9,6 @@ GENSIO_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools) GENSIO_LICENSE_FILES = COPYING.LIB COPYING GENSIO_INSTALL_STAGING = YES -GENSIO_DEPENDENCIES = $(if $(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),avahi) GENSIO_CONF_OPTS = \ --without-swig \ --without-python @@ -21,6 +20,13 @@ else GENSIO_CONF_OPTS += --without-alsa endif +ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y) +GENSIO_DEPENDENCIES += avahi +GENSIO_CONF_OPTS += --with-mdns +else +GENSIO_CONF_OPTS += --without-mdns +endif + ifeq ($(BR2_PACKAGE_LIBGLIB2),y) GENSIO_DEPENDENCIES += host-pkgconf libglib2 GENSIO_CONF_OPTS += --with-glib
mdns option is available since version 2.4.0 and https://github.com/cminyard/gensio/commit/0b56fdd8205dff8f2343d1672e58b6583772f897 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- package/gensio/gensio.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)