mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
42 lines
1.4 KiB
Bash
42 lines
1.4 KiB
Bash
## This is the linphone stack,
|
|
## normally along with linphone you should update the following packages:
|
|
## bcg729, belle-sip, bzrtp, mbedtls, mediastreamer, ortp, libantlr3c
|
|
|
|
pkgname=linphone
|
|
pkgver=3.9.1
|
|
pkgrel=2
|
|
pkgdesc="A Voice-over-IP phone - cli version"
|
|
arch=('x86_64')
|
|
url="http://www.linphone.org/index.php/eng"
|
|
license=('GPL')
|
|
depends=('alsa-lib' 'ffmpeg' 'speex' 'libv4l' 'v4l-utils' 'libxml2'
|
|
'libpulse' 'libxv' 'libvpx' 'mediastreamer' 'ortp>=0.25.0' 'bzrtp' 'bcg729'
|
|
'belle-sip' 'mesa-libgl' 'glew' 'gsm' 'sqlite3' 'readline' 'libupnp')
|
|
makedepends=('pkg-config' 'libtool' 'intltool' )
|
|
# 'perl-xml-parser' 'sgmltools-lite'
|
|
optdepends=('pulseaudio')
|
|
options=('!emptydirs')
|
|
source=("http://download-mirror.savannah.gnu.org/releases/${pkgname}/3.9.x/sources/${pkgname}-$pkgver.tar.gz")
|
|
sha256sums=('84e6eae51336f98817643f85f962a43351dafc4f2e1611825d1a3433307f24ac')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
export PKG_CONFIG=/usr/bin/pkg-config
|
|
unset SGML_CATALOG_FILES
|
|
./autogen.sh
|
|
./configure --prefix=/usr --disable-static --disable-gtk-ui --enable-console-ui --enable-ipv6 --enable-video \
|
|
--enable-alsa --enable-pulseaudio --disable-artsc --disable-strict \
|
|
--libexecdir=/usr/lib/$pkgname \
|
|
--enable-external-mediastreamer \
|
|
--enable-external-ortp \
|
|
--enable-zrtp
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
rm -rf ${pkgdir}/usr/share/{appdata,applications,doc,icons,pixmaps}
|
|
}
|