diff options
Diffstat (limited to 'extra/ortp/PKGBUILD')
-rw-r--r-- | extra/ortp/PKGBUILD | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/extra/ortp/PKGBUILD b/extra/ortp/PKGBUILD index 375831112..3f64e6195 100644 --- a/extra/ortp/PKGBUILD +++ b/extra/ortp/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 150809 2012-02-23 01:26:10Z andrea $ +# $Id: PKGBUILD 159150 2012-05-16 20:08:01Z andrea $ # Maintainer: # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> @@ -6,24 +6,31 @@ pkgname=ortp pkgver=0.20.0 -pkgrel=1 +pkgrel=2 pkgdesc="A Real-time Transport Protocol (RTP) library" arch=('i686' 'x86_64') url="http://www.linphone.org/index.php/eng/code_review/ortp" license=('LGPL') -depends=('glibc') +depends=('libzrtpcpp' 'libsrtp') options=('!libtool') -source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/sources/${pkgname}-${pkgver}.tar.gz"{,.sig}) +source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/sources/${pkgname}-${pkgver}.tar.gz"{,.sig} + 'libzrtpcpp2.patch') md5sums=('b3f2f02fc5b7ba7e294806c81d419f3c' - 'c5d39f9ad14fe252db9a96f616308b0b') + 'c5d39f9ad14fe252db9a96f616308b0b' + 'a37392fd9889711ac2f0fed2e388fbd8') build() { - cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -p1 -i "${srcdir}"/libzrtpcpp2.patch + + ./configure --prefix=/usr \ + --enable-zrtp \ + --disable-strict make } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } |