summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f29baa7f6dbc3302f108fc8468f0ff88f658fd43 (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
# Maintainer: Dominic Brekau <aur@dominic.brekau.de>
# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
# Contributor: Alexander Rødseth <rodseth@gmail.com>

pkgname=twinkle-qt5
_pkgname=twinkle
pkgver=1.10.2
pkgrel=3
pkgdesc="Softphone for voice over IP and IM communication using SIP"
arch=('x86_64' 'i686')
url="http://www.twinklephone.com/"
license=('GPL')
depends=('file' 'libsndfile' 'gsm' 'speex' 'qt5-declarative' 'ccrtp' 'ilbc' 'libzrtpcpp')
makedepends=('boost' 'cmake' 'git' 'qt5-tools' 'alsa-lib')
source=("git+https://github.com/LubosD/$_pkgname.git#tag=v${pkgver}")
md5sums=('SKIP')

build() {
  cd "$_pkgname"
  mkdir -p build
  cd build
  cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DWITH_QT5=ON -DWITH_ALSA=ON -DWITH_GSM=ON -DWITH_SPEEX=ON -DWITH_ZRTP=ON -DWITH_ILBC=ON # -DWITH_G729=On
  make
}

package() {
  cd "$_pkgname/build"

  make DESTDIR="$pkgdir" install
}