2014-12-12 16:42:43 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libnice
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-08-31 15:04:16 +02:00
|
|
|
LIBNICE_VERSION = 0.1.16
|
2015-03-09 23:14:51 +01:00
|
|
|
LIBNICE_SITE = http://nice.freedesktop.org/releases
|
2017-03-30 15:43:42 +02:00
|
|
|
LIBNICE_LICENSE = MPL-1.1 or LGPL-2.1
|
2014-12-12 16:42:43 +01:00
|
|
|
LIBNICE_LICENSE_FILES = COPYING COPYING.MPL COPYING.LGPL
|
2019-08-31 15:04:17 +02:00
|
|
|
LIBNICE_DEPENDENCIES = libglib2 host-pkgconf
|
2014-12-12 16:42:43 +01:00
|
|
|
LIBNICE_INSTALL_STAGING = YES
|
2020-02-07 15:50:18 +01:00
|
|
|
LIBNICE_CONF_OPTS = --without-gstreamer-0.10
|
2018-05-06 11:42:29 +02:00
|
|
|
|
2019-08-31 15:04:17 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
|
|
|
LIBNICE_CONF_OPTS += --with-crypto-library=gnutls
|
|
|
|
LIBNICE_DEPENDENCIES += gnutls
|
|
|
|
else
|
|
|
|
LIBNICE_CONF_OPTS += \
|
|
|
|
--with-crypto-library=openssl \
|
|
|
|
--with-openssl=$(STAGING_DIR)/usr
|
|
|
|
LIBNICE_DEPENDENCIES += openssl
|
|
|
|
endif
|
|
|
|
|
2018-05-06 11:42:29 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
|
|
|
|
LIBNICE_CONF_OPTS += --with-gstreamer
|
|
|
|
LIBNICE_DEPENDENCIES += gst1-plugins-base
|
|
|
|
else
|
|
|
|
LIBNICE_CONF_OPTS += --without-gstreamer
|
|
|
|
endif
|
2014-12-12 16:42:43 +01:00
|
|
|
|
|
|
|
$(eval $(autotools-package))
|