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

Antonio Rojas arojas at gemini.archlinux.org
Tue Aug 10 19:33:28 UTC 2021


    Date: Tuesday, August 10, 2021 @ 19:33:28
  Author: arojas
Revision: 997402

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
    (from rev 997401, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/fix-build.patch
    (from rev 997401, mediastreamer/trunk/fix-build.patch)
Deleted:
  mediastreamer/repos/community-x86_64/PKGBUILD
  mediastreamer/repos/community-x86_64/fix-build.patch

-----------------+
 PKGBUILD        |   74 +++++++++++++++++++++++++++---------------------------
 fix-build.patch |   26 +++++++++---------
 2 files changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-10 19:33:16 UTC (rev 997401)
+++ PKGBUILD	2021-08-10 19:33:28 UTC (rev 997402)
@@ -1,37 +0,0 @@
-# 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=5.0.5
-pkgrel=1
-pkgdesc='A library written in C that allows you to create and run audio and video streams'
-arch=(x86_64)
-url='https://github.com/BelledonneCommunications/mediastreamer2'
-license=(GPL)
-depends=(ortp ffmpeg bzrtp glew libsrtp)
-makedepends=(cmake python bcunit doxygen)
-source=(https://github.com/BelledonneCommunications/mediastreamer2/archive/$pkgver/$pkgname-$pkgver.tar.gz
-        fix-build.patch)
-sha256sums=('e587cb6fb1190f73f13e396f613b0ad3b4ebfe640b6961a5ccd15389db728cb9'
-            '6e421e02a302c408975e8e01580ae72f35f9e9d7dc043542eade38961cb8e4f9')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-
-prepare() {
-  patch -d ${pkgname}2-$pkgver -p1 < fix-build.patch
-}
-
-build() {
-  cmake -B build -S ${pkgname}2-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DENABLE_STATIC=OFF \
-    -DENABLE_STRICT=OFF
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-  rm -r "$pkgdir"/usr/include/OpenGL
-}

Copied: mediastreamer/repos/community-x86_64/PKGBUILD (from rev 997401, mediastreamer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-10 19:33:28 UTC (rev 997402)
@@ -0,0 +1,37 @@
+# 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=5.0.6
+pkgrel=1
+pkgdesc='A library written in C that allows you to create and run audio and video streams'
+arch=(x86_64)
+url='https://github.com/BelledonneCommunications/mediastreamer2'
+license=(GPL)
+depends=(ortp ffmpeg bzrtp glew libsrtp)
+makedepends=(cmake python bcunit doxygen)
+source=(https://github.com/BelledonneCommunications/mediastreamer2/archive/$pkgver/$pkgname-$pkgver.tar.gz
+        fix-build.patch)
+sha256sums=('c52986230b219d91d5590cf6a6c2a01262e5c9e056644021a0554383999b2c9a'
+            '6e421e02a302c408975e8e01580ae72f35f9e9d7dc043542eade38961cb8e4f9')
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+
+prepare() {
+  patch -d ${pkgname}2-$pkgver -p1 < fix-build.patch
+}
+
+build() {
+  cmake -B build -S ${pkgname}2-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DENABLE_STATIC=OFF \
+    -DENABLE_STRICT=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+  rm -r "$pkgdir"/usr/include/OpenGL
+}

Deleted: fix-build.patch
===================================================================
--- fix-build.patch	2021-08-10 19:33:16 UTC (rev 997401)
+++ fix-build.patch	2021-08-10 19:33:28 UTC (rev 997402)
@@ -1,13 +0,0 @@
-diff --git a/src/crypto/ms_srtp.c b/src/crypto/ms_srtp.c
-index ef15d545..a33477d5 100644
---- a/src/crypto/ms_srtp.c
-+++ b/src/crypto/ms_srtp.c
-@@ -371,7 +371,7 @@ static int ms_add_srtp_stream(srtp_t srtp, MSCryptoSuite suite, uint32_t ssrc, c
- 	policy.key = (uint8_t *)key;
- 	policy.next = NULL;
- 
--	err = srtp_add_or_update_stream(srtp, &policy);
-+	err = srtp_add_stream(srtp, &policy);
- 	if (err != err_status_ok) {
- 		ms_error("Failed to add stream to srtp session (%d)", err);
- 		return -1;

Copied: mediastreamer/repos/community-x86_64/fix-build.patch (from rev 997401, mediastreamer/trunk/fix-build.patch)
===================================================================
--- fix-build.patch	                        (rev 0)
+++ fix-build.patch	2021-08-10 19:33:28 UTC (rev 997402)
@@ -0,0 +1,13 @@
+diff --git a/src/crypto/ms_srtp.c b/src/crypto/ms_srtp.c
+index ef15d545..a33477d5 100644
+--- a/src/crypto/ms_srtp.c
++++ b/src/crypto/ms_srtp.c
+@@ -371,7 +371,7 @@ static int ms_add_srtp_stream(srtp_t srtp, MSCryptoSuite suite, uint32_t ssrc, c
+ 	policy.key = (uint8_t *)key;
+ 	policy.next = NULL;
+ 
+-	err = srtp_add_or_update_stream(srtp, &policy);
++	err = srtp_add_stream(srtp, &policy);
+ 	if (err != err_status_ok) {
+ 		ms_error("Failed to add stream to srtp session (%d)", err);
+ 		return -1;



More information about the arch-commits mailing list