# $Id: PKGBUILD 61187 2011-12-23 22:08:05Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Darwin Bautista pkgname=linphone pkgver=3.5.0 pkgrel=1 pkgdesc="A Voice-over-IP phone" arch=('i686' 'x86_64') url="http://www.linphone.org/index.php/eng" license=('GPL') depends=('alsa-lib' 'ffmpeg' 'gtk2' 'libexosip2' 'speex' 'libv4l' 'libglade' 'v4l-utils' 'libpulse' 'libxv') # 'mediastreamer' 'ortp') makedepends=('pkgconfig' 'perlxml' 'intltool' 'sgmltools-lite') optdepends=('pulseaudio') options=('!libtool' '!emptydirs') conflicts=('ortp' 'mediastreamer') source=("http://download-mirror.savannah.gnu.org/releases/linphone/3.5.x/sources/linphone-$pkgver.tar.gz") md5sums=('ad89cd6030a131f2b17ea50eb6f4c6f2') build() { cd "$srcdir/$pkgname-$pkgver" export PKG_CONFIG=/usr/bin/pkg-config unset SGML_CATALOG_FILES ./configure --prefix=/usr --disable-static --enable-ipv6 --enable-video \ --enable-alsa --enable-pulseaudio --disable-artsc --disable-strict \ --libexecdir=/usr/lib/$pkgname \ --disable-external-mediastreamer --disable-external-ortp make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install }