# vim: set syn=sh et ai sw=2 st=2 ts=2 tw=0: #Packager: JRD pkgname=farstream pkgver=0.1.2 pkgrel=1cp source=(http://freedesktop.org/software/farstream/releases/$pkgname/$pkgname-$pkgver.tar.gz) 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." ) build() { cd $SRC/$pkgname-$pkgver || return 1 cat <<'EOF' | patch -p1 diff -urNp farstream-0.1.1.orig/gst/fsrtpconference/default-codec-preferences farstream-0.1.1/gst/fsrtpconference/default-codec-preferences --- farstream-0.1.1.orig/gst/fsrtpconference/default-codec-preferences 2012-03-20 12:12:22.644324485 +0100 +++ farstream-0.1.1/gst/fsrtpconference/default-codec-preferences 2012-03-21 09:32:04.468634455 +0100 @@ -41,6 +41,8 @@ feedback:nack/pli= [video/H263] feedback:nack/pli= +[video/VP8-DRAFT-IETF-01] + [video/THEORA] #feedback:tfrc= feedback:nack/pli= EOF ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc \ --disable-static \ --enable-python \ --disable-gupnp \ --with-plugins=fsrawconference,fsrtpconference,fsmsnconference,fsfunnel,fsrtcpfilter,fsvideoanyrate \ --with-transmitter-plugins=rawudp,multicast,nice,shm \ --build=$arch-slackware-linux || return 1 make -j $numjobs || return 1 make install DESTDIR=$PKG || return 1 }