package/libnice: add gobject-introspection optional dependency

gobject-introspection is an optional dependency which is enabled by
default since version 0.1.8 and
0388646bdb

Fixes:
 - http://autobuild.buildroot.org/results/1cba7aa233e19472a69ffc2d8f7324d363a22deb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2021-07-07 22:41:13 +02:00 committed by Thomas Petazzoni
parent 2c6b0359c3
commit aade2fd293

View File

@ -22,6 +22,13 @@ LIBNICE_CONF_OPTS += \
LIBNICE_DEPENDENCIES += openssl
endif
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
LIBNICE_CONF_OPTS += --enable-introspection
LIBNICE_DEPENDENCIES += gobject-introspection
else
LIBNICE_CONF_OPTS += --disable-introspection
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
LIBNICE_CONF_OPTS += --with-gstreamer
LIBNICE_DEPENDENCIES += gst1-plugins-base