updated on Mon Jan 16 16:00:41 UTC 2012
[aur-mirror.git] / baresip / PKGBUILD
blobc4845dc8e27c94c6e981d903936b67fd1376122a
1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Luka Perkov <archlinux <at> lukaperkov <dOt> net>
4 pkgname=baresip
5 pkgver=0.4.0
6 pkgrel=1
7 pkgdesc="A portable and modular SIP User-Agent with audio and video support" 
8 arch=('i686' 'x86_64')
9 url="http://www.creytiv.com/"
10 license=('BSD')
11 depends=('libre>=0.4.0' 'librem>=0.4.0' 'celt' 'ffmpeg'
12          'gstreamer0.10' 'portaudio' 'util-linux' 'v4l-utils')
13 source=("http://www.creytiv.com/pub/$pkgname-$pkgver.tar.gz")
14 md5sums=('770a13543866e801f6544e194097e911')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
19   # x86_64 fPIC fix
20   [ "$CARCH" = x86_64 ] && _fpic=-fPIC
22   make CFLAGS="$_fpic \
23                -I/usr/include/gsm \
24                -I/usr/include/rem \
25                -I/usr/include/re \
26                `pkg-config --cflags gstreamer-0.10` \
27                -Iinclude -DHAVE_PWD_H"
30 package() {
31   cd "$srcdir/$pkgname-$pkgver"
32   make DESTDIR="$pkgdir" install
34   # license
35   install -Dm644 docs/COPYING \
36     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"