mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 13:54:37 +08:00
will commit them separately next time... it's just too much work to do separate commits right now
44 lines
1.3 KiB
Bash
44 lines
1.3 KiB
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
pkgname=linphone
|
|
pkgver=3.5.2
|
|
pkgrel=2
|
|
pkgdesc="A Voice-over-IP phone. CLI version only."
|
|
arch=('x86_64')
|
|
url="http://www.linphone.org/index.php/eng"
|
|
license=('GPL')
|
|
depends=('alsa-lib' 'ffmpeg' 'libexosip2' 'speex' 'libv4l' 'v4l-utils' 'libpulse' 'libxv' 'mediastreamer' 'ortp')
|
|
makedepends=('pkgconfig' 'perlxml' 'intltool')
|
|
optdepends=('pulseaudio')
|
|
options=('!libtool' '!emptydirs')
|
|
source=("http://download-mirror.savannah.gnu.org/releases/${pkgname}/${pkgver:0:3}.x/sources/${pkgname}-${pkgver}.tar.gz")
|
|
sha256sums=('da37d5e539e3f8aaa44039aa52ed032ef372e7481d1b3ce68317bf79aa8a6020')
|
|
|
|
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} \
|
|
--enable-external-mediastreamer \
|
|
--enable-external-ortp
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|