summaryrefslogtreecommitdiff
path: root/extra/farsight2/PKGBUILD
blob: eaa0ae4ce33e8de1dc93569e5179c10aa4e10643 (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 98160 2010-11-03 23:14:07Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: William Díaz <wdiaz@archlinux.us>

pkgname=farsight2
pkgver=0.0.22
pkgrel=1
pkgdesc="Audio/Video conference software for Instant Messengers"
arch=('i686' 'x86_64')
url="http://farsight.freedesktop.org"
license=('LGPL')
depends=('libnice>=0.0.13' 'gstreamer0.10-base-plugins>=0.10.30' 'gstreamer0.10-python>=0.10.18' 'python2' 'pygobject>=2.26.0')
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=('e1f540cf3ebab06c3d7db1f46b44ac88')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i -e 's#python-config#python2-config#' python/Makefile.in
  # this makefile is broken
  sed -i -e 's#        #	#' docs/libs/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
}