diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-08-09 19:58:19 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-08-09 19:58:19 -0300 |
commit | 77c68a3d303942c19d776f17f5ffc3baf639840a (patch) | |
tree | f0829443c033c6b18ba41e0509b64a115c03d5c1 /pcr/linphone-git | |
parent | 4925b5ebba15d64e582f064ef7ee327d38b4f88b (diff) | |
download | abslibre-77c68a3d303942c19d776f17f5ffc3baf639840a.tar.gz abslibre-77c68a3d303942c19d776f17f5ffc3baf639840a.tar.bz2 abslibre-77c68a3d303942c19d776f17f5ffc3baf639840a.zip |
linphone-git: add new package to [pcr]
Diffstat (limited to 'pcr/linphone-git')
-rw-r--r-- | pcr/linphone-git/PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pcr/linphone-git/PKGBUILD b/pcr/linphone-git/PKGBUILD new file mode 100644 index 000000000..e0e764ed1 --- /dev/null +++ b/pcr/linphone-git/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: André Silva <emulatorman@parabola.nu> + +_pkgname=linphone +pkgname=linphone-git +pkgver=r9466.8d21acd +pkgrel=1 +pkgdesc="A Voice-over-IP phone" +arch=('i686' 'x86_64') +url="http://www.linphone.org/" +license=('GPL2') +depends=('alsa-lib' 'ffmpeg' 'gtk2' 'speex' 'libv4l' 'libglade' 'v4l-utils' + 'libpulse' 'libxv' 'mediastreamer-git' 'ortp-git' 'bzrtp-git' 'bcg729' 'libsoup' + 'belle-sip-git' 'libnotify' 'bcunit-git' 'bctoolbox-git') +makedepends=('pkg-config' 'perl-xml-parser' 'intltool' 'sgmltools-lite' 'git') +conflicts=("${_pkgname}") +provides=("${_pkgname}") +optdepends=('pulseaudio') +options=('!emptydirs') +source=("${_pkgname}-${pkgver}::git+https://github.com/BelledonneCommunications/linphone#branch=master") +sha256sums=('SKIP') + +pkgver() { + cd $_pkgname-$pkgver + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd $_pkgname-$pkgver + ./autogen.sh +} + +build() { + cd $_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 $_pkgname-$pkgver + make DESTDIR="$pkgdir" install +} |