blob: 7a02a915163759843ff3a366b0f1468f6674d821 (
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
49
50
51
|
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
pkgname=linphone-desktop-git
_pkgname=linphone-desktop
pkgver=4.1.1.r663.g4a43f00e
pkgrel=1
pkgdesc="A Voice-over-IP phone"
arch=('x86_64')
url="http://www.linphone.org"
license=('GPL')
depends=('bcg729-git' 'belcard-git' 'belle-sip-git' 'belr-git' 'bzrtp-git'
'linphone-git' 'libpulse' 'libxv' 'mediastreamer-git' 'minizip-git'
'ortp-git' 'libsoup' 'libnotify' 'qt5-svg' 'qt5-quickcontrols'
'qt5-quickcontrols2' 'qt5-graphicaleffects')
makedepends=('cmake' 'git' 'python-pystache' 'qt5-tools')
optdepends=('pulseaudio')
options=('!emptydirs')
provides=('linphone-desktop')
conflicts=('linphone-desktop')
source=('git+https://github.com/BelledonneCommunications/linphone-desktop.git'
'cmake.patch'
'deprecated.patch'
'find_minizip2.patch')
sha256sums=('SKIP'
'f251ef179dc6c3fb22449f2a0bd2014c082642747e201a992b3eaf2db6e50544'
'93170eda1b55987c61171e18afb94182672302b03f34658b817fe8b46f1af545'
'c2dbf6e11105c010fdcc2cc90b0087ded595c05ba9a3324e1f57cc04383e8180')
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/; s/-/./g'
}
prepare() {
cd "${srcdir}/${_pkgname}"
patch -p1 < ../cmake.patch
patch -p1 < ../deprecated.patch
patch -p1 < ../find_minizip2.patch
}
build() {
cd $_pkgname
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_PREFIX_PATH=/usr .
make
}
package() {
cd "$_pkgname"
make DESTDIR="$pkgdir" install
}
|