mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
dcd5dd7d67
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.
28 lines
702 B
Bash
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
|
|
}
|