summaryrefslogtreecommitdiff
path: root/pcr/linphone/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-03 19:42:19 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-03 19:42:19 -0300
commite490f51ccc2251f982346294d39cc08d9c03bfa9 (patch)
tree7cc40818e7f15bba8ea6d431179c740c9b1956ba /pcr/linphone/PKGBUILD
parent65db3a26b6cbe53d3e23366595d740af950720fa (diff)
downloadabslibre-e490f51ccc2251f982346294d39cc08d9c03bfa9.tar.gz
abslibre-e490f51ccc2251f982346294d39cc08d9c03bfa9.tar.bz2
abslibre-e490f51ccc2251f982346294d39cc08d9c03bfa9.zip
linphone: adding package to [pcr] repo due that is unstable on archlinux
Diffstat (limited to 'pcr/linphone/PKGBUILD')
-rw-r--r--pcr/linphone/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/pcr/linphone/PKGBUILD b/pcr/linphone/PKGBUILD
new file mode 100644
index 000000000..420576fc8
--- /dev/null
+++ b/pcr/linphone/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Darwin Bautista <djclue917@gmail.com>
+
+pkgname=linphone
+pkgver=3.5.2
+pkgrel=4.1
+pkgdesc="A Voice-over-IP phone"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://www.linphone.org/index.php/eng"
+license=('GPL')
+depends=('alsa-lib' 'ffmpeg=1:1.2' 'gtk2' 'libexosip2' 'speex' 'libv4l' 'libglade' 'v4l-utils'
+ 'libpulse' 'libxv' 'mediastreamer' 'ortp' 'libzrtpcpp' 'bcg729')
+makedepends=('pkgconfig' 'perlxml' 'intltool' 'sgmltools-lite')
+optdepends=('pulseaudio')
+options=('!libtool' '!emptydirs')
+source=("http://download-mirror.savannah.gnu.org/releases/linphone/3.5.x/sources/linphone-$pkgver.tar.gz")
+md5sums=('4be6e940372dba1f6793aef849c1ff0d')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ export PKG_CONFIG=/usr/bin/pkg-config
+ unset SGML_CATALOG_FILES
+ ./configure --prefix=/usr --disable-static --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
+}