Date: Thursday, July 8, 2021 @ 18:20:27 Author: arojas Revision: 975838
archrelease: copy trunk to community-x86_64 Added: mediastreamer/repos/community-x86_64/PKGBUILD (from rev 975837, mediastreamer/trunk/PKGBUILD) mediastreamer/repos/community-x86_64/fix-build.patch (from rev 975837, mediastreamer/trunk/fix-build.patch) Deleted: mediastreamer/repos/community-x86_64/PKGBUILD mediastreamer/repos/community-x86_64/fix-build.patch -----------------+ PKGBUILD | 73 +++++++++++++++++++++++++++--------------------------- fix-build.patch | 26 +++++++++---------- 2 files changed, 50 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-08 18:20:07 UTC (rev 975837) +++ PKGBUILD 2021-07-08 18:20:27 UTC (rev 975838) @@ -1,36 +0,0 @@ -# Maintainer: -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: AdriĆ Arrufat <swiftscy...@gmail.com> -# Contributor: Mark Lee <m...@markelee.com> - -pkgname=mediastreamer -pkgver=5.0.0 -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=('ae46eb5d52590b25c8ac660b0208e7efcfbbc9968a0967e63c8684e153ff0f55' - '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 -} Copied: mediastreamer/repos/community-x86_64/PKGBUILD (from rev 975837, mediastreamer/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-08 18:20:27 UTC (rev 975838) @@ -0,0 +1,37 @@ +# Maintainer: +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: AdriĆ Arrufat <swiftscy...@gmail.com> +# Contributor: Mark Lee <m...@markelee.com> + +pkgname=mediastreamer +pkgver=5.0.0 +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=('ae46eb5d52590b25c8ac660b0208e7efcfbbc9968a0967e63c8684e153ff0f55' + '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-07-08 18:20:07 UTC (rev 975837) +++ fix-build.patch 2021-07-08 18:20:27 UTC (rev 975838) @@ -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 975837, mediastreamer/trunk/fix-build.patch) =================================================================== --- fix-build.patch (rev 0) +++ fix-build.patch 2021-07-08 18:20:27 UTC (rev 975838) @@ -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;