blob: 8e8c66589a9dfe4a3664362028b6e2ac0158f456 (
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
37
38
39
40
41
42
43
|
# $Id: PKGBUILD 99895 2013-10-31 02:20:19Z allan $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Darwin Bautista <djclue917@gmail.com>
pkgname=linphone
pkgver=3.6.1
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' 'libzrtpcpp' 'bcg729' 'libsoup')
makedepends=('pkgconfig' 'perlxml' 'intltool' 'sgmltools-lite')
optdepends=('pulseaudio')
options=('!emptydirs')
source=("http://download-mirror.savannah.gnu.org/releases/${pkgname}/3.6.x/sources/${pkgname}-$pkgver.tar.gz"
"port-to-exosip-4.patch")
md5sums=('f59b99ec2501ebbb02969c885be4c4c5'
'45178a854c9321c58296dead77fbc5dc')
prepare() {
cd $srcdir/$pkgname-$pkgver
patch -p1 <$srcdir/port-to-exosip-4.patch
}
build() {
cd $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 \
--enable-external-mediastreamer \
--enable-external-ortp \
--enable-zrtp
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|