# Template file for 'farstream'
pkgname=farstream
version=0.2.0
revision=4
build_style=gnu-configure
configure_args="--disable-valgrind --disable-debug --disable-static"
makedepends="pkg-config intltool gupnp-igd-devel>=0.2.0 libnice-devel>=0.1.3
 gst-plugins-base1-devel python-devel gst-python-devel pygobject2-devel
 gobject-introspection"
depends="gst-python pygobject2 pygtk gst-plugins-good1 gst-plugins-bad1"
replaces="farsight2>=0"
short_desc="GStreamer modules and libraries for videoconferencing"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.freedesktop.org/wiki/Software/Farstream"
distfiles="http://freedesktop.org/software/farstream/releases/$pkgname/$pkgname-$version.tar.gz"
checksum=5b9d97056ecf43d6dafade7cbe959c2a4e412eb75a3104911586f40f5f0378c9

farstream-devel_package() {
	depends="gst-plugins-base1-devel farstream-${version}_${revision}"
	short_desc+=" - development files"
	replaces="farsight2-devel>=0"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc 
		vmove usr/share/gir-1.0
	}
}
