summaryrefslogtreecommitdiff
path: root/extra/farsight2/PKGBUILD
blob: 1ec0251270f05b40253465a1ca7ef7ba4554f792 (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
# $Id: PKGBUILD 111877 2011-03-01 15:02:05Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: William Díaz <wdiaz@archlinux.us>

pkgname=farsight2
pkgver=0.0.26
pkgrel=1
pkgdesc="Audio/Video conference software for Instant Messengers"
arch=('i686' 'x86_64')
url="http://farsight.freedesktop.org"
license=('LGPL')
depends=('libnice' 'gstreamer0.10-base-plugins' 'gstreamer0.10-python' 'python2' 'pygobject')
optdepends=('gstreamer0.10-good-plugins: for RTP plugin'
            'gstreamer0.10-bad-plugins: for RTP plugin')
options=('!libtool' '!emptydirs')
source=(http://farsight.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('7756d910687dd2abd455fd68e83f125c')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i -e 's#python-config#python2-config#' python/Makefile.in
  ./configure --prefix=/usr \
      --with-package-name='Arch Linux farsight2 package' \
      --with-package-origin='http://archlinux.org' \
      --disable-static \
      --disable-valgrind \
      --disable-debug
  make
}

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