blob: 6b969b1bad664aa8e6ce0468fb1a2ca5594508ea (
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
44
45
46
47
48
|
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Darwin Bautista <djclue917@gmail.com>
# Contributor: Mark Lee <mark@markelee.com>
pkgname=linphone-git
_pkgname=linphone
pkgver=4.4.0.alpha.r106.gcd9a2477e
pkgrel=1
pkgdesc="A Voice-over-IP phone library and CLI"
arch=('x86_64')
url="http://www.linphone.org"
license=('GPL')
depends=('alsa-lib' 'bctoolbox>=4.3' 'belcard>=4.3' 'belle-sip>=4.3' 'belr>=4.3'
'bzrtp>=4.3' 'ffmpeg' 'lime>=4.3' 'libpulse' 'libv4l'
'libxv' 'mediastreamer>=4.4.0' 'ortp>=4.4.0' 'soci>=4.0' 'speex' 'v4l-utils' 'xerces-c')
makedepends=('cmake' 'doxygen' 'git' 'graphviz' 'python-pystache' 'xsd')
optdepends=('pulseaudio')
options=('!emptydirs')
provides=("linphone=$pkgver")
conflicts=('linphone')
install=linphone.install
source=("git+https://github.com/BelledonneCommunications/linphone.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/; s/-/./g'
}
build() {
cd $_pkgname
CXXFLAGS="$CXXFLAGS -Wno-deprecated -Wimplicit-fallthrough=0 -Wno-unused-function"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_STATIC=NO \
-DENABLE_CXX_WRAPPER=YES \
-DENABLE_DOC=NO \
-DENABLE_LIME=YES \
-DENABLE_UNIT_TESTS=NO \
-DENABLE_STRICT=NO \
-DCMAKE_INSTALL_RPATH=NO .
make
}
package() {
cd "$_pkgname"
make DESTDIR="$pkgdir" install
}
|