updated on Fri Jan 20 12:03:34 UTC 2012
[aur-mirror.git] / qutecom / PKGBUILD
blobd7fe60486ff3882e5e75c0cbc89bcc54844f1d36
1     # Contributor: Chris Giles <Chris.G.27 (at) Gmail.com>
2     # Contributor: Larry Hajali <larryhaja[at]gmail[dot]com>
3     # Contributor: said
4      
5     pkgname=qutecom
6     pkgver=2.2.1
7     pkgrel=1
8     pkgdesc="A free VoIP softphone, superseding WengoPhone"
9     arch=('i686' 'x86_64')
10     url="http://trac.qutecom.org/"
11     license=('GPL')
12     depends=('qt' 'ffmpeg' 'python2' 'libsamplerate' 'gnutls' 'speex' 'boost-libs'
13              'v4l-utils')
14     makedepends=('cmake' 'boost')
15     install=qutecom.install
16     source=("${url}/downloads/${pkgname}-${pkgver}.tar.gz"
17             'new-videodev.patch')
18     md5sums=('6f7569c75e7c7978e0a187b3c8795bfa'
19              '52b536108d9c9aabe6e07a18f72db81b')
20      
21     build() {
22       cd "${srcdir}"/${pkgname}-${pkgver}
23       patch -p1 -i "${srcdir}"/new-videodev.patch
24      
25       cd "${srcdir}"
26       mkdir build
27       cd build
28       cmake ../${pkgname}-${pkgver} \
29         -DCMAKE_INSTALL_PREFIX=/usr \
30         -DCMAKE_BUILD_TYPE=Release
31      
32       make
33     }
34      
35     package() {
36       cd "${srcdir}"/build
37       make DESTDIR="${pkgdir}" install
38     }