2011-06-16 04:04:27 +08:00
|
|
|
pkgname=opal
|
2015-10-02 22:44:04 +08:00
|
|
|
pkgver=3.14.4
|
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')
|
2015-10-02 22:44:04 +08:00
|
|
|
depends=('gsm' 'libtheora' 'ptlib=2.14.4' 'silc-toolkit' 'speex' 'x264')
|
2014-05-21 01:14:56 +08:00
|
|
|
makedepends=('ffmpeg')
|
2013-12-22 01:31:36 +08:00
|
|
|
source=(http://downloads.sourceforge.net/opalvoip/$pkgname-$pkgver.tar.bz2)
|
2015-10-02 22:44:04 +08:00
|
|
|
sha512sums=('589f6c8eb236ae41faec199fa807a7c1c5ab32adbf7914f8c14597d797b7dd62d5d1ee40a25c5e8920b276cef0926915784c7bd2ce5b8ef38d7e84833c64cb54')
|
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
|
|
|
|
2014-05-21 01:14:56 +08:00
|
|
|
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
|
|
|
|
export LD_LIBRARY_PATH=/usr/lib
|
2015-10-02 22:44:04 +08:00
|
|
|
export PTLIBPLUGINDIR=/usr/lib/ptlib-3.14:/usr/lib/opal-3.14
|
2014-05-21 01:14:56 +08:00
|
|
|
|
2012-12-01 05:14:07 +08:00
|
|
|
CXXFLAGS="$CXXFLAGS -fpermissive" \
|
2011-06-16 04:04:27 +08:00
|
|
|
./configure \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc
|
|
|
|
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
|
2012-12-01 05:14:07 +08:00
|
|
|
chmod 644 "${pkgdir}/usr/lib/libopal_s.a"
|
2011-06-16 04:04:27 +08:00
|
|
|
}
|