[arch-commits] Commit in mediastreamer/repos/community-staging-x86_64 (2 files)

Sergej Pupykin spupykin at archlinux.org
Thu Dec 8 15:52:11 UTC 2016


    Date: Thursday, December 8, 2016 @ 15:52:10
  Author: spupykin
Revision: 198477

archrelease: copy trunk to community-staging-x86_64

Added:
  mediastreamer/repos/community-staging-x86_64/PKGBUILD
    (from rev 198476, mediastreamer/trunk/PKGBUILD)
Deleted:
  mediastreamer/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 47 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-08 15:47:21 UTC (rev 198476)
+++ PKGBUILD	2016-12-08 15:52:10 UTC (rev 198477)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Adrià Arrufat <swiftscythe at gmail.com>
-# Contributor: Mark Lee <mark at markelee.com>
-
-pkgname=mediastreamer
-pkgver=2.14.0
-pkgrel=2
-pkgdesc="A library written in C that allows you to create and run audio and video streams"
-arch=('i686' 'x86_64')
-url="http://www.linphone.org/"
-license=('GPL')
-depends=('ortp' 'ffmpeg' 'libxv' 'libupnp' 'bzrtp' 'glew' 'libsrtp' 'mbedtls' 'bctoolbox')
-# xxd from Vim is needed to build
-makedepends=('intltool' 'vim' 'cunit')
-#source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
-source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/mediastreamer2/archive/$pkgver.tar.gz")
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-md5sums=('ba7c44433b10e924036c01fdbee44040')
-
-build() {
-  cd ${pkgname}2-$pkgver
-  [ -x ./configure ] || ./autogen.sh
-  ./configure --prefix=/usr \
-    --enable-glx --enable-xv --enable-zrtp --enable-external-ortp \
-    --disable-strict
-  make
-}
-
-package() {
-  cd ${pkgname}2-$pkgver
-  make DESTDIR="${pkgdir}" install
-}

Copied: mediastreamer/repos/community-staging-x86_64/PKGBUILD (from rev 198476, mediastreamer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-12-08 15:52:10 UTC (rev 198477)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Adrià Arrufat <swiftscythe at gmail.com>
+# Contributor: Mark Lee <mark at markelee.com>
+
+pkgname=mediastreamer
+pkgver=2.14.0
+pkgrel=4
+pkgdesc="A library written in C that allows you to create and run audio and video streams"
+arch=('i686' 'x86_64')
+url="http://www.linphone.org/"
+license=('GPL')
+depends=('ortp' 'ffmpeg' 'libxv' 'libupnp' 'bzrtp' 'glew' 'libsrtp' 'mbedtls' 'bctoolbox')
+# xxd from Vim is needed to build
+makedepends=('intltool' 'vim' 'cunit')
+#source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
+source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/mediastreamer2/archive/$pkgver.tar.gz")
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+md5sums=('ba7c44433b10e924036c01fdbee44040')
+
+prepare() {
+  cd ${pkgname}2-$pkgver
+  patch src/crypto/dtls_srtp.c <<EOF
+diff -r mediastreamer2-2.14.0/src/crypto/dtls_srtp.c mediastreamer2-2.14.0.q/src/crypto/dtls_srtp.c
+708c708
+< 	bctbx_ssl_config_set_ca_chain(dtlsContext->ssl_config, dtlsContext->crt, NULL);
+---
+> 	bctbx_ssl_config_set_ca_chain(dtlsContext->ssl_config, dtlsContext->crt);
+EOF
+}
+
+build() {
+  cd ${pkgname}2-$pkgver
+  export CFLAGS="$CFLAGS -Dbctbx_list_remove_link=bctbx_list_unlink -Dbctbx_list_delete_link=bctbx_list_erase_link"
+  [ -x ./configure ] || ./autogen.sh
+  ./configure --prefix=/usr \
+    --enable-glx --enable-xv --enable-zrtp --enable-external-ortp \
+    --disable-strict
+  make
+}
+
+package() {
+  cd ${pkgname}2-$pkgver
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list