# Template file for 'libnice'
pkgname=libnice
version=0.1.6
revision=1
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 <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://nice.freedesktop.org"
distfiles="$homepage/releases/$pkgname-$version.tar.gz"
checksum=de38e3709cf5db09c58cb9801924303f08a8b211c714ed0962b81323cc9bd92c

libnice-devel_package() {
	depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
		vmove usr/share
	}
}
