desktop/opal/PKGBUILD
Adrian Chaves (Gallaecio) dcd5dd7d67 opal: Rebuilt to fix misterious broken link
It has a broken link to libsrtp, which was not even a dependency. I rebuilt the package, and even if
I install libsrtp prior to building, the resulting .so does not link to it.
2016-09-24 21:55:30 +02:00

28 lines
702 B
Bash

pkgname=opal
pkgver=3.16.2
pkgrel=2
pkgdesc="Open Phone Abstraction Library"
arch=('x86_64')
url="http://www.opalvoip.org/"
license=('MPL')
depends=('gsm' 'libtheora' 'ptlib' 'silc-toolkit' 'speex' 'libx264' 'gst-plugins-base-libs' 'celt')
makedepends=('ffmpeg' 'libsrtp' 'spandsp' 'x264' 'gst-plugins-base')
source=(http://downloads.sourceforge.net/opalvoip/$pkgname-$pkgver.tar.bz2)
sha1sums=('786d0bb251bd14adcdf62703b12440d9ee7ce6cb')
build() {
cd $srcdir/$pkgname-$pkgver
CFLAGS+=" -fPIC" \
./configure \
--localstatedir=/var \
--prefix=/usr \
--sysconfdir=/etc \
--with-srtp-dir=/usr/lib
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}