diff options
Diffstat (limited to 'community/linphone/PKGBUILD')
-rw-r--r-- | community/linphone/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/linphone/PKGBUILD b/community/linphone/PKGBUILD new file mode 100644 index 000000000..904afdb94 --- /dev/null +++ b/community/linphone/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 43994 2011-04-01 15:09:07Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Darwin Bautista <djclue917@gmail.com> +# Contributor: Darwin Bautista <djclue917@gmail.com> + +pkgname=linphone +pkgver=3.4.3 +pkgrel=2 +pkgdesc="A Voice-over-IP phone" +arch=('i686' 'x86_64') +url="http://www.linphone.org/index.php/eng" +license=('GPL') +depends=('alsa-lib' 'ffmpeg' 'gtk2' 'libexosip2' 'speex' 'libv4l' 'libglade' 'v4l-utils' + 'libpulse' 'libxv' 'mediastreamer' 'ortp') +makedepends=('pkgconfig' 'perlxml' 'intltool' 'sgmltools-lite') +optdepends=('pulseaudio') +options=('!libtool' '!emptydirs') +source=("http://download-mirror.savannah.gnu.org/releases/linphone/3.4.x/sources/linphone-$pkgver.tar.gz" + "disable-v4l1.patch") +md5sums=('66e21f36d62c2094f7b4360262c46f20' + '7ee15689eed1adbdcf0ddab8fadca34a') + +build() { + cd "$srcdir/$pkgname-$pkgver" + export PKG_CONFIG=/usr/bin/pkg-config + unset SGML_CATALOG_FILES +# patch -p1 <$srcdir/disable-v4l1.patch + ./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 + make + make DESTDIR="$pkgdir" install +} |