mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 19:57:16 +08:00
30 lines
984 B
Bash
30 lines
984 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
pkgname=linphone
|
|
pkgver=3.4.0
|
|
pkgrel=1
|
|
pkgdesc="A Voice-over-IP phone. CLI version only."
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.linphone.org/index.php/eng"
|
|
license=('GPL')
|
|
depends=('alsa-lib' 'ffmpeg' 'libexosip2' 'speex' 'libv4l' 'v4l-utils' 'libpulse')
|
|
makedepends=('pkgconfig' 'perlxml' 'intltool')
|
|
optdepends=('pulseaudio')
|
|
conflicts=(ortp)
|
|
provides=(ortp)
|
|
options=('!libtool' '!emptydirs')
|
|
source=(http://download.savannah.gnu.org/releases/linphone/3.4.x/sources/linphone-$pkgver.tar.gz)
|
|
md5sums=('845c994b1e3df255760a4e1ac042031a')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
export PKG_CONFIG=/usr/bin/pkg-config
|
|
./configure --prefix=/usr --disable-static --enable-ipv6 --enable-video --enable-gtk_ui=no \
|
|
--enable-alsa --enable-pulseaudio --disable-artsc --disable-strict --libexecdir=/usr/lib/$pkgname
|
|
make
|
|
make DESTDIR="$pkgdir" install
|
|
}
|