summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2016-08-17 08:12:45 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2016-10-24 08:35:55 -0400
commit922ae6ee64efcd2d05d1289ce170c7d281b858f8 (patch)
tree3ca4fb852a6f7b3e65c1ed900af87d4aa26b1bc1
parent471f63f2e9dc7ef8f740ab543d67fdb0624984f8 (diff)
downloadarch-pkgs-922ae6ee64efcd2d05d1289ce170c7d281b858f8.tar.gz
Add linphone related packages
-rw-r--r--bctoolbox/PKGBUILD28
-rw-r--r--bcunit/PKGBUILD28
-rw-r--r--bzrtp/PKGBUILD28
-rw-r--r--ortp/PKGBUILD28
4 files changed, 112 insertions, 0 deletions
diff --git a/bctoolbox/PKGBUILD b/bctoolbox/PKGBUILD
new file mode 100644
index 0000000..6188384
--- /dev/null
+++ b/bctoolbox/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer:
+# Contributor: Guillaume Horel <guillaume.horel@gmail.com>
+
+pkgname=bctoolbox
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Utilities library for Belledonne Communications software"
+arch=('i686' 'x86_64')
+url="http://www.linphone.org/"
+license=('GPL')
+depends=()
+makedepends=('bcunit')
+source=("https://github.com/BelledonneCommunications/$pkgname/archive/$pkgver.tar.gz")
+md5sums=('6c04712c62919a5fe200cf3377027c89')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake -DENABLE_TESTS_COMPONENT="OFF" -DCMAKE_INSTALL_LIBDIR="/usr/lib" -DCMAKE_INSTALL_PREFIX="/usr" "../$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/bcunit/PKGBUILD b/bcunit/PKGBUILD
new file mode 100644
index 0000000..0d17601
--- /dev/null
+++ b/bcunit/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer:
+# Contributor: Guillaume Horel <guillaume.horel@gmail.com>
+
+pkgname=bcunit
+pkgver=3.0
+pkgrel=1
+pkgdesc="A fork of CUnit, a C unit testing framework"
+arch=('i686' 'x86_64')
+url="http://www.linphone.org/"
+license=('GPL')
+depends=()
+makedepends=()
+source=("https://github.com/BelledonneCommunications/$pkgname/archive/$pkgver.tar.gz")
+md5sums=('98d9db1210623262a4365bd3381fb7d4')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake -DCMAKE_INSTALL_LIBDIR="/usr/lib" -DCMAKE_INSTALL_PREFIX="/usr" "../$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/bzrtp/PKGBUILD b/bzrtp/PKGBUILD
new file mode 100644
index 0000000..5ee4e99
--- /dev/null
+++ b/bzrtp/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer:
+# Contributor: Guillaume Horel <guillaume.horel@gmail.com>
+
+pkgname=bzrtp
+pkgver=1.0.4
+pkgrel=1
+pkgdesc="Implementation of the ZRTP protocol"
+arch=('i686' 'x86_64')
+url="http://www.linphone.org/"
+license=('GPL')
+depends=('bctoolbox')
+makedepends=('')
+source=("https://github.com/BelledonneCommunications/$pkgname/archive/$pkgver.tar.gz")
+md5sums=('0f36322012dd6cc248aa356555744a8e')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake -DENABLE_STATIC=NO -DCMAKE_INSTALL_LIBDIR="/usr/lib" -DCMAKE_INSTALL_PREFIX="/usr" "../$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/ortp/PKGBUILD b/ortp/PKGBUILD
new file mode 100644
index 0000000..5e96eeb
--- /dev/null
+++ b/ortp/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=ortp
+pkgver=0.27.0
+pkgrel=1
+pkgdesc="A Real-time Transport Protocol (RTP) library"
+arch=('i686' 'x86_64')
+url="http://www.linphone.org/index.php/eng/code_review/ortp"
+license=('GPL3')
+depends=('glibc')
+source=("https://github.com/BelledonneCommunications/$pkgname/archive/$pkgver.tar.gz")
+sha1sums=('1cfc5ff9053b880fabad176722a97b301867ab7e')
+
+build() {
+ mkdir build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_LIBDIR="/usr/lib" "../${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd ${srcdir}/build
+ make DESTDIR="${pkgdir}" install
+}