void-packages/srcpkgs/farstream/template
2017-05-16 16:54:23 +02:00

34 lines
1.1 KiB
Bash

# Template file for 'farstream'
pkgname=farstream
version=0.2.8
revision=2
build_style=gnu-configure
configure_args="--disable-valgrind --disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool python-devel glib-devel $(vopt_if gir gobject-introspection)"
makedepends="python-devel gupnp-igd-devel libnice-devel gst-plugins-base1-devel"
depends="gst-plugins-good1 gst-plugins-bad1"
short_desc="GStreamer modules and libraries for videoconferencing"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://www.freedesktop.org/wiki/Software/Farstream"
distfiles="${FREEDESKTOP_SITE}/farstream/releases/$pkgname/$pkgname-$version.tar.gz"
checksum=2b3b9c6b4f64ace8c83e03d1da5c5a2884c1cae10b35471072b574201ab38908
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
farstream-devel_package() {
depends="gst-plugins-base1-devel farstream-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}