diff mbox series

[1/2] package/libnice: add gobject-introspection optional dependency

Message ID 20210707204114.414040-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/2] package/libnice: add gobject-introspection optional dependency | expand

Commit Message

Fabrice Fontaine July 7, 2021, 8:41 p.m. UTC
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@gmail.com>
---
 package/libnice/libnice.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Thomas Petazzoni July 17, 2021, 8:08 a.m. UTC | #1
On Wed,  7 Jul 2021 22:41:13 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> 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@gmail.com>
> ---
>  package/libnice/libnice.mk | 7 +++++++
>  1 file changed, 7 insertions(+)

Both applied to master!

Thomas
Peter Korsgaard Aug. 3, 2021, 3:08 p.m. UTC | #2
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > 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@gmail.com>

Committed to 2021.02.x and 2021.05.x, thanks.
diff mbox series

Patch

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