summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-04-20 11:54:34 -0300
committerDavid P <megver83@parabola.nu>2018-04-20 11:54:34 -0300
commitb28e50c1f95bc663a4b85d43a3d4bc0b1a19c9bb (patch)
tree378def14f1494e00f6f9e883a9719abbacd64a2e
parent491b9654cc7d7a5113b29099208ebc297fbe469f (diff)
downloadabslibre-b28e50c1f95bc663a4b85d43a3d4bc0b1a19c9bb.tar.gz
abslibre-b28e50c1f95bc663a4b85d43a3d4bc0b1a19c9bb.tar.bz2
abslibre-b28e50c1f95bc663a4b85d43a3d4bc0b1a19c9bb.zip
add new [pcr] packages: belle-sip and bcg729
-rw-r--r--pcr/bcg729/PKGBUILD29
-rw-r--r--pcr/belle-sip/PKGBUILD46
2 files changed, 75 insertions, 0 deletions
diff --git a/pcr/bcg729/PKGBUILD b/pcr/bcg729/PKGBUILD
new file mode 100644
index 000000000..271bcc3fc
--- /dev/null
+++ b/pcr/bcg729/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: David P. <megver83@parabola.nu>
+# Maintainer: Christian Kohlstedde <christian+arch-pkg@kohlsted.de>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=bcg729
+pkgver=1.0.4
+pkgrel=1
+pkgdesc="g729 codec"
+arch=('x86_64' 'i686' ''armv7h)
+url="http://www.linphone.org/eng/documentation/dev/bcg729.html"
+license=('GPL')
+depends=('glibc')
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcg729/archive/$pkgver.tar.gz")
+sha256sums=('94b3542a06cbd96306efc19f959f9febae62806a22599063f82a8c33e989d48b')
+
+build() {
+ cd $pkgname-$pkgver
+ [ -x configure ] || ./autogen.sh
+ ./configure --prefix=/usr --disable-strict
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir/" install
+ install -dm0755 "$pkgdir/usr/include/bcg729"
+ cp include/bcg729/*.h "$pkgdir/usr/include/bcg729"
+}
diff --git a/pcr/belle-sip/PKGBUILD b/pcr/belle-sip/PKGBUILD
new file mode 100644
index 000000000..584b26884
--- /dev/null
+++ b/pcr/belle-sip/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: David P. <megver83@parabola.nu>
+# Maintainer (AUR): Paul Wilk <paul.wilk@null.net>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Darwin Bautista <djclue917@gmail.com>
+
+pkgname=belle-sip
+pkgver=1.6.3
+pkgrel=1
+pkgdesc="A Voice-over-IP phone"
+arch=('x86_64' 'i686' 'armv7h')
+url="https://github.com/BelledonneCommunications/belle-sip/"
+license=('GPL')
+depends=('libantlr3c' 'gcc-libs' 'mbedtls' 'bctoolbox')
+makedepends=('java-runtime')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/belle-sip/archive/$pkgver.tar.gz"
+ "antlr.jar::https://github.com/antlr/website-antlr3/blob/gh-pages/download/antlr-3.4-complete.jar?raw=true")
+noextract=('antlr.jar')
+sha256sums=('cbdf9f79786fe13f553964b84892e8d3a08b6eae18fc5bdea5fcb445d7f1ce17'
+ '9d3e866b610460664522520f73b81777b5626fb0a282a5952b9800b751550bf7')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i \
+ -e "s#antlr_java_prefixes=.*#antlr_java_prefixes="$srcdir"#" \
+ -e "s|-Werror||g" \
+ configure.ac
+ sed -i \
+ -e 's|bctbx_list_delete_link|bctbx_list_erase_link|g' \
+ -e 's|bctbx_list_remove_link|bctbx_list_unlink|g' \
+ include/belle-sip/list.h
+ sed -i 's|, super->base.peer_cname ? super->base.peer_cname : super->base.peer_name ||' src/transports/tls_channel.c
+}
+
+build() {
+ cd $pkgname-$pkgver
+ [ -x ./configure ] || ./autogen.sh
+ ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname \
+ --disable-tests --disable-static --enable-tls
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}