diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-04-23 09:26:05 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-04-25 17:37:41 +0200 |
commit | 20252072ffd347e83cb20e9ce561b573d5f1a436 (patch) | |
tree | daefd785b34fda6fade77580d5a6ae73f0d347d6 | |
parent | 7fb0106d426c51edf65f19c4e47bd1ef8c179734 (diff) | |
download | ptxdist-20252072ffd347e83cb20e9ce561b573d5f1a436.tar.gz ptxdist-20252072ffd347e83cb20e9ce561b573d5f1a436.tar.xz |
libnice: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/libnice.in | 17 | ||||
-rw-r--r-- | rules/libnice.make | 71 |
2 files changed, 88 insertions, 0 deletions
diff --git a/rules/libnice.in b/rules/libnice.in new file mode 100644 index 000000000..8aeb56f3c --- /dev/null +++ b/rules/libnice.in @@ -0,0 +1,17 @@ +## SECTION=multimedia_libs + +config LIBNICE + tristate + prompt "libnice" + # for autogen.sh + select HOST_GTK_DOC + + select GLIB + select GSTREAMER1 + select OPENSSL + help + Nice is an implementation of the IETF's draft Interactive + Connectivity Establishment standard (ICE). ICE is useful for + applications that want to establish peer-to-peer UDP data + streams. It automates the process of traversing NATs and provides + security against some attacks. diff --git a/rules/libnice.make b/rules/libnice.make new file mode 100644 index 000000000..5bdb1e408 --- /dev/null +++ b/rules/libnice.make @@ -0,0 +1,71 @@ +# -*-makefile-*- +# +# Copyright (C) 2019 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_LIBNICE) += libnice + +# +# Paths and names +# +LIBNICE_VERSION := 0.1.15 +LIBNICE_MD5 := 5f58f305d23158651ab509b25420d353 +LIBNICE := libnice-$(LIBNICE_VERSION) +LIBNICE_SUFFIX := tar.gz +LIBNICE_URL := https://nice.freedesktop.org/releases/$(LIBNICE).$(LIBNICE_SUFFIX) +LIBNICE_SOURCE := $(SRCDIR)/$(LIBNICE).$(LIBNICE_SUFFIX) +LIBNICE_DIR := $(BUILDDIR)/$(LIBNICE) +LIBNICE_LICENSE := MPL-1.1 OR LGPL-2.1-only + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +LIBNICE_CONF_TOOL := autoconf +LIBNICE_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --enable-assert \ + --enable-compile-warnings=yes \ + --disable-gupnp \ + --disable-coverage \ + --disable-static-plugins \ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-gtk-doc-pdf \ + --disable-introspection \ + --with-crypto-library=openssl \ + --with-gstreamer \ + --without-gstreamer-0.10 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libnice.targetinstall: + @$(call targetinfo) + + @$(call install_init, libnice) + @$(call install_fixup, libnice,PRIORITY,optional) + @$(call install_fixup, libnice,SECTION,base) + @$(call install_fixup, libnice,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>") + @$(call install_fixup, libnice,DESCRIPTION,missing) + + @$(call install_lib, libnice, 0, 0, 0644, libnice) + @$(call install_lib, libnice, 0, 0, 0644, gstreamer-1.0/libgstnice) + + @$(call install_finish, libnice) + + @$(call touch) + +# vim: syntax=make |