# vim: syn=sh ft=sh et sw=2 sts=2 ts=2 tw=0: #Packager: Cyrille Pontvieux pkgname=farstream pkgver=0.1.2 pkgrel=2cp source=(http://freedesktop.org/software/farstream/releases/farstream/${pkgname}-${pkgver}.tar.gz transfer-gir-fix.patch) sourcetemplate=http://people.salixos.org/jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.freedesktop.org/wiki/Software/Farstream slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Audio/Video Communications Framework)" "The Farstream (formerly Farsight) project is an effort to create a" "framework to deal with all known audio/video conferencing protocols." "On one side it offers a generic API that makes it possible to write" "plugins for different streaming protocols, on the other side it" "offers an API for clients to use those plugins." "This version is built against GStreamer 0.10" ) build() { cd $SRC/$pkgname-$pkgver || return 1 patch -p0 -i $SRC/transfer-gir-fix.patch || return 1 ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --build=$arch-slackware-linux \ --disable-static \ --enable-python \ --disable-gupnp \ --with-plugins=fsrawconference,fsrtpconference,fsmsnconference,fsfunnel,fsrtcpfilter,fsvideoanyrate \ --with-transmitter-plugins=rawudp,multicast,nice,shm \ || return 1 make -j $numjobs || return 1 make install DESTDIR=$PKG || return 1 }