# Template file for 'libnice' pkgname=libnice version=0.1.3 revision=3 subpackages="$pkgname-devel" build_style=gnu-configure configure_args="--disable-static" hostmakedepends="pkg-config intltool" makedepends="gstreamer-devel gstreamer1-devel libsoup-devel gupnp-igd-devel>=0.2.0" short_desc="An implementation of the IETF's draft ICE (for P2P UDP data streams)" maintainer="Juan RP " license="LGPL-2.1" homepage="http://nice.freedesktop.org" distfiles="$homepage/releases/$pkgname-$version.tar.gz" checksum=046ce11f66638b54f2e042e7b1fbcc537ec99c27185fb006edbfd80d7f990074 long_desc=" It provides a GLib-based library, libnice and a Glib-free library, libstun as well as GStreamer elements. 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. It also allows applications to create reliable streams using a TCP over UDP layer. Existing standards that use ICE include Session Initiation Protocol (SIP) and XMPP Jingle." libnice-devel_package() { depends="libglib-devel libnice>=${version}" short_desc+=" -- development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove usr/share } } libnice_package() { pkg_install() { vmove usr } }