summaryrefslogtreecommitdiff
path: root/extra/farstream/PKGBUILD
blob: 2a9c961d4d3d4c3c5288da13829b48776304aa5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 156762 2012-04-23 09:05:00Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>

pkgname=farstream
pkgver=0.1.2
pkgrel=1
pkgdesc="Farstream (formerly Farsight) - Audio/Video Communications Framework"
arch=(i686 x86_64 'mips64el')
url="http://www.freedesktop.org/wiki/Software/Farstream"
license=('LGPL2.1')
depends=('libnice' 'gstreamer0.10-base' 'gstreamer0.10-bad-plugins' 'gstreamer0.10-good' 'gstreamer0.10-ffmpeg')
makedepends=('gobject-introspection' 'gstreamer0.10-python' 'python2-gobject2')
conflicts=('farsight2')
replaces=('farsight2')
options=(!libtool)
source=(http://freedesktop.org/software/$pkgname/releases/$pkgname/$pkgname-$pkgver.tar.gz
        vp8.patch)
md5sums=('5d6e561b3688d0d0c8906fec4f356df3'
         'c4e76d03d678d29b872b610f9cff42cd')

build() {
  cd  "$pkgname-$pkgver"
  patch -Np1 -i "$srcdir/vp8.patch"
  ./configure --prefix=/usr \
    --with-package-name='Parabola GNU/Linux-libre farstream package' \
    --with-package-origin='https://parabolagnulinux.org/' \
    --disable-static
  make
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: