[Buildroot] [git commit branch/2021.02.x] package/libnice: add gobject-introspection optional dependency
Peter Korsgaard
peter at korsgaard.com
Tue Aug 3 15:08:16 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=4e2ffdef881b93223a3dfc87da8280c0d5bb236a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x
gobject-introspection is an optional dependency which is enabled by
default since version 0.1.8 and
https://github.com/libnice/libnice/commit/0388646bdba5f91bb6bb509f5a1c6e9e3f068555
Fixes:
- http://autobuild.buildroot.org/results/1cba7aa233e19472a69ffc2d8f7324d363a22deb
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit aade2fd293fc8a13bc5665fa70a4002ddac9aae6)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/libnice/libnice.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/libnice/libnice.mk b/package/libnice/libnice.mk
index 8cbf003529..8292250938 100644
--- a/package/libnice/libnice.mk
+++ b/package/libnice/libnice.mk
@@ -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
More information about the buildroot
mailing list