xref: /buildroot/package/libnice/libnice.mk
  • Home
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • current directory
1################################################################################
2#
3# libnice
4#
5################################################################################
6
7LIBNICE_VERSION = 0.1.21
8LIBNICE_SITE = https://libnice.freedesktop.org/releases
9LIBNICE_LICENSE = MPL-1.1 or LGPL-2.1
10LIBNICE_LICENSE_FILES = COPYING COPYING.MPL COPYING.LGPL
11LIBNICE_DEPENDENCIES = libglib2 host-pkgconf
12LIBNICE_INSTALL_STAGING = YES
13LIBNICE_CONF_OPTS = \
14	-Dexamples=disabled \
15	-Dtests=disabled
16
17ifeq ($(BR2_PACKAGE_GNUTLS),y)
18LIBNICE_CONF_OPTS += -Dcrypto-library=gnutls
19LIBNICE_DEPENDENCIES += gnutls
20else
21LIBNICE_CONF_OPTS += -Dcrypto-library=openssl
22LIBNICE_DEPENDENCIES += openssl
23endif
24
25ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
26LIBNICE_CONF_OPTS += -Dintrospection=enabled
27LIBNICE_DEPENDENCIES += gobject-introspection
28else
29LIBNICE_CONF_OPTS += -Dintrospection=disabled
30endif
31
32ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
33LIBNICE_CONF_OPTS += -Dgstreamer=enabled
34LIBNICE_DEPENDENCIES += gst1-plugins-base
35else
36LIBNICE_CONF_OPTS += -Dgstreamer=disabled
37endif
38
39$(eval $(meson-package))
40

Last Index update Fri Aug 22 08:59:00 CST 2025