2011-06-16 04:04:27 +08:00
|
|
|
pkgname=opal
|
2016-05-27 19:52:28 +08:00
|
|
|
pkgver=3.16.2
|
2011-06-16 04:04:27 +08:00
|
|
|
pkgrel=1
|
2012-12-01 05:14:07 +08:00
|
|
|
pkgdesc="Open Phone Abstraction Library"
|
|
|
|
arch=('x86_64')
|
2011-06-16 04:04:27 +08:00
|
|
|
url="http://www.opalvoip.org/"
|
|
|
|
license=('MPL')
|
2016-05-27 19:52:28 +08:00
|
|
|
depends=('gsm' 'libtheora' 'ptlib' 'silc-toolkit' 'speex' 'libx264' 'gst-plugins-base-libs' 'celt')
|
|
|
|
makedepends=('ffmpeg' 'libsrtp' 'spandsp' 'x264' 'gst-plugins-base')
|
2013-12-22 01:31:36 +08:00
|
|
|
source=(http://downloads.sourceforge.net/opalvoip/$pkgname-$pkgver.tar.bz2)
|
2016-05-27 19:52:28 +08:00
|
|
|
sha1sums=('786d0bb251bd14adcdf62703b12440d9ee7ce6cb')
|
2011-06-16 04:04:27 +08:00
|
|
|
|
|
|
|
build() {
|
2011-10-31 03:00:13 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2012-06-02 22:39:11 +08:00
|
|
|
|
2011-06-16 04:04:27 +08:00
|
|
|
./configure \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--prefix=/usr \
|
2016-05-27 19:52:28 +08:00
|
|
|
--sysconfdir=/etc \
|
|
|
|
--with-srtp-dir=/usr/lib
|
2011-06-16 04:04:27 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-10-31 03:00:13 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2011-06-16 04:04:27 +08:00
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|