generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
23
package/libnice/Config.in
Normal file
23
package/libnice/Config.in
Normal file
@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_LIBNICE
|
||||
bool "libnice"
|
||||
depends on !BR2_STATIC_LIBS # gnutls
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
Libnice is an implementation of the IETF's Interactive
|
||||
Connectivity Establishment (ICE) standard (RFC 5245) and the
|
||||
Session Traversal Utilities for NAT (STUN) standard (RFC
|
||||
5389).
|
||||
|
||||
It provides a GLib-based library, libnice and a Glib-free
|
||||
library, libstun as well as GStreamer elements.
|
||||
|
||||
http://nice.freedesktop.org/wiki/
|
||||
|
||||
comment "libnice needs a toolchain w/ wchar, threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_STATIC_LIBS
|
||||
7
package/libnice/libnice.hash
Normal file
7
package/libnice/libnice.hash
Normal file
@ -0,0 +1,7 @@
|
||||
# Locally computed after checking pgp signature
|
||||
sha256 5eabd25ba2b54e817699832826269241abaa1cf78f9b240d1435f936569273f4 libnice-0.1.18.tar.gz
|
||||
|
||||
# Hash for license files:
|
||||
sha256 9246b2ee8b1db30cf03d5d9719ad8bb5edce1cadc85f8cfef319c23d24d950b5 COPYING
|
||||
sha256 3b3c75ae6c663c4f93987647eb5463d33dc1602a1aded3ac479773f2c3928e3a COPYING.MPL
|
||||
sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LGPL
|
||||
39
package/libnice/libnice.mk
Normal file
39
package/libnice/libnice.mk
Normal file
@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# libnice
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBNICE_VERSION = 0.1.18
|
||||
LIBNICE_SITE = http://nice.freedesktop.org/releases
|
||||
LIBNICE_LICENSE = MPL-1.1 or LGPL-2.1
|
||||
LIBNICE_LICENSE_FILES = COPYING COPYING.MPL COPYING.LGPL
|
||||
LIBNICE_DEPENDENCIES = libglib2 host-pkgconf
|
||||
LIBNICE_INSTALL_STAGING = YES
|
||||
LIBNICE_CONF_OPTS = \
|
||||
-Dexamples=disabled \
|
||||
-Dtests=disabled
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||
LIBNICE_CONF_OPTS += -Dcrypto-library=gnutls
|
||||
LIBNICE_DEPENDENCIES += gnutls
|
||||
else
|
||||
LIBNICE_CONF_OPTS += -Dcrypto-library=openssl
|
||||
LIBNICE_DEPENDENCIES += openssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||
LIBNICE_CONF_OPTS += -Dintrospection=enabled
|
||||
LIBNICE_DEPENDENCIES += gobject-introspection
|
||||
else
|
||||
LIBNICE_CONF_OPTS += -Dintrospection=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
|
||||
LIBNICE_CONF_OPTS += -Dgstreamer=enabled
|
||||
LIBNICE_DEPENDENCIES += gst1-plugins-base
|
||||
else
|
||||
LIBNICE_CONF_OPTS += -Dgstreamer=disabled
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user