2015-12-22 20:01:09 +08:00
|
|
|
## This is the linphone stack,
|
|
|
|
## normally along with linphone you should update the following packages:
|
|
|
|
## bcg729, belle-sip, bzrtp, mbedtls, mediastreamer, ortp, libantlr3c
|
|
|
|
|
2015-07-23 05:15:59 +08:00
|
|
|
pkgname=linphone
|
2017-03-16 21:51:49 +08:00
|
|
|
pkgver=3.11.1
|
2018-10-03 18:21:16 +08:00
|
|
|
pkgrel=2
|
2015-07-23 05:15:59 +08:00
|
|
|
pkgdesc="A Voice-over-IP phone - cli version"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="http://www.linphone.org/index.php/eng"
|
|
|
|
license=('GPL')
|
2017-01-19 07:32:17 +08:00
|
|
|
depends=('alsa-lib' 'ffmpeg' 'speex' 'libv4l' 'v4l-utils' 'libxml2'
|
2017-03-16 21:51:49 +08:00
|
|
|
'libpulse' 'libxv' 'libvpx' 'mediastreamer' 'ortp' 'bzrtp' 'bcg729'
|
2017-01-19 07:32:17 +08:00
|
|
|
'belle-sip' 'mesa-libgl' 'glew' 'gsm' 'sqlite3' 'readline' 'libupnp')
|
2017-03-16 21:51:49 +08:00
|
|
|
makedepends=('pkg-config' 'libtool' 'intltool' 'bcunit')
|
2015-07-23 05:15:59 +08:00
|
|
|
optdepends=('pulseaudio')
|
|
|
|
options=('!emptydirs')
|
2017-03-16 21:51:49 +08:00
|
|
|
source=("https://www.linphone.org/releases/sources/linphone/linphone-$pkgver.tar.gz")
|
|
|
|
sha256sums=('dc88ef3d311495b9db6041f2ed7b99f6b00a91339c1612e63b4071a4f0a0404e')
|
2015-07-23 05:15:59 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
2017-03-16 21:51:49 +08:00
|
|
|
|
2017-01-19 07:32:17 +08:00
|
|
|
./autogen.sh
|
2015-07-23 05:15:59 +08:00
|
|
|
./configure --prefix=/usr --disable-static --disable-gtk-ui --enable-console-ui --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() {
|
2017-01-19 07:32:17 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2015-07-23 05:15:59 +08:00
|
|
|
make DESTDIR="$pkgdir" install
|
2017-01-19 07:32:17 +08:00
|
|
|
|
|
|
|
rm -rf ${pkgdir}/usr/share/{appdata,applications,doc,icons,pixmaps}
|
2015-07-23 05:15:59 +08:00
|
|
|
}
|
2017-01-19 07:32:17 +08:00
|
|
|
|