[arch-commits] Commit in mediastreamer/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Thu Mar 16 11:29:36 UTC 2017
Date: Thursday, March 16, 2017 @ 11:29:36
Author: spupykin
Revision: 216707
upgpkg: mediastreamer 2.15.1-1
upd
Modified:
mediastreamer/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++-----------------
1 file changed, 5 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-16 11:29:28 UTC (rev 216706)
+++ PKGBUILD 2017-03-16 11:29:36 UTC (rev 216707)
@@ -6,34 +6,22 @@
# Contributor: Mark Lee <mark at markelee.com>
pkgname=mediastreamer
-pkgver=2.14.0
-pkgrel=5
+pkgver=2.15.1
+pkgrel=1
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/"
+url="https://github.com/BelledonneCommunications/mediastreamer2"
license=('GPL')
depends=('ortp' 'ffmpeg' 'libxv' 'libupnp' 'bzrtp' 'glew' 'libsrtp' 'mbedtls' 'bctoolbox')
# xxd from Vim is needed to build
makedepends=('intltool' 'vim' 'bcunit')
-#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')
+sha256sums=('5e7d3eefc3ca807711da2cc279f1a05d7a24e0aa6e9dfe912fc203419880c852')
-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"
+# 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 \
More information about the arch-commits
mailing list