mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-10 02:34:38 +08:00
37 lines
1.3 KiB
Bash
37 lines
1.3 KiB
Bash
pkgname=linphone
|
|
pkgver=3.8.5
|
|
pkgrel=1
|
|
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' '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.8.x/sources/${pkgname}-$pkgver.tar.gz")
|
|
sha512sums=('be6e0fedd81e80e859c303926ec9c651e3242a5bbaa9e9be4d7e1ce3738a35d8ca68e924bcdf9b54c4f716f3cb30a3ae8f7b8caab3349915730c6041ce49ec88')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
export PKG_CONFIG=/usr/bin/pkg-config
|
|
unset SGML_CATALOG_FILES
|
|
./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}
|
|
}
|