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

2022-06-20 Thread Antonio Rojas via arch-commits
Date: Monday, June 20, 2022 @ 13:48:01
  Author: arojas
Revision: 1238677

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
(from rev 1238676, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/ffmpeg5.patch
(from rev 1238676, mediastreamer/trunk/ffmpeg5.patch)
Deleted:
  mediastreamer/repos/community-x86_64/PKGBUILD
  mediastreamer/repos/community-x86_64/ffmpeg5.patch

---+
 PKGBUILD  |   74 -
 ffmpeg5.patch |  416 
 2 files changed, 245 insertions(+), 245 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-20 13:47:50 UTC (rev 1238676)
+++ PKGBUILD2022-06-20 13:48:01 UTC (rev 1238677)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-pkgname=mediastreamer
-pkgver=5.1.43
-pkgrel=1
-pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
-arch=(x86_64)
-url='https://gitlab.linphone.org/'
-license=(GPL)
-depends=(ortp ffmpeg bzrtp glew libsrtp)
-makedepends=(cmake python bcunit doxygen libyuv)
-source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
-ffmpeg5.patch)
-sha256sums=('dfd539d3003999a968bd159036d6bfde32f840f9570905ee73b61182b84a2f71'
-'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-
-prepare() {
-  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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 1238676, 
mediastreamer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-20 13:48:01 UTC (rev 1238677)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+pkgname=mediastreamer
+pkgver=5.1.45
+pkgrel=1
+pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
+arch=(x86_64)
+url='https://gitlab.linphone.org/'
+license=(GPL)
+depends=(ortp ffmpeg bzrtp glew libsrtp)
+makedepends=(cmake python bcunit doxygen libyuv)
+source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
+ffmpeg5.patch)
+sha256sums=('856381bf0f7455523197cdb3cdca69c817c52efb1924abf50086127689f7992a'
+'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+
+prepare() {
+  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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: ffmpeg5.patch
===
--- ffmpeg5.patch   2022-06-20 13:47:50 UTC (rev 1238676)
+++ ffmpeg5.patch   2022-06-20 13:48:01 UTC (rev 1238677)
@@ -1,208 +0,0 @@
-diff --git a/src/utils/ffmpeg-priv.c b/src/utils/ffmpeg-priv.c
-index a3a801a9..9d696f17 100644
 a/src/utils/ffmpeg-priv.c
-+++ b/src/utils/ffmpeg-priv.c
-@@ -23,31 +23,22 @@
- 
- #ifndef HAVE_FUN_avcodec_encode_video2
- int avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const 
AVFrame *frame, int *got_packet_ptr) {
--  int error=avcodec_encode_video(avctx, avpkt->data, avpkt->size,frame);
--  if (error<0){
--  return error;
--  }else{
--  if (error>0) {
--  *got_packet_ptr=1;
--  avpkt->size=error;
--  }else *got_packet_ptr=0;
--  }
--  return 0;
--}
--#endif
-+int ret;
- 
-+*got_packet_ptr = 0;
- 
-+ret = avcodec_send_frame(avctx, frame);
-+if (ret < 0)
-+return ret;
- 
--#ifndef HAVE_FUN_avcodec_get_context_defaults3 /**/
--int avcodec_get_context_defaults3 (AVCodecContext *s, AVCodec *codec) {
--  avcodec_get_context_defaults(s);
--  return 0;
--}
-+ret = avcodec_receive_packet(avctx, avpkt);
-+if (!ret)
-+*got_packet_ptr = 1;
-+if (ret == AVERROR(EAGAIN))
-+return 0;
- 
--AVCodecContext *avcodec_alloc_context3(AVCodec *codec){
--  return avcodec_alloc_context();
-+return ret;
- }
--
- #endif
- 
- 
-diff --git a/src/utils/ffmpeg-priv.h b/src/utils/ffmpeg-priv.h

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

2022-06-15 Thread Antonio Rojas via arch-commits
Date: Wednesday, June 15, 2022 @ 14:47:42
  Author: arojas
Revision: 1238035

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
(from rev 1238034, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/ffmpeg5.patch
(from rev 1238034, mediastreamer/trunk/ffmpeg5.patch)
Deleted:
  mediastreamer/repos/community-x86_64/PKGBUILD
  mediastreamer/repos/community-x86_64/ffmpeg5.patch

---+
 PKGBUILD  |   74 -
 ffmpeg5.patch |  416 
 2 files changed, 245 insertions(+), 245 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-06-15 14:47:29 UTC (rev 1238034)
+++ PKGBUILD2022-06-15 14:47:42 UTC (rev 1238035)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-pkgname=mediastreamer
-pkgver=5.1.31
-pkgrel=1
-pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
-arch=(x86_64)
-url='https://gitlab.linphone.org/'
-license=(GPL)
-depends=(ortp ffmpeg bzrtp glew libsrtp)
-makedepends=(cmake python bcunit doxygen libyuv)
-source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
-ffmpeg5.patch)
-sha256sums=('4c4dbe96e38c79df11ef886f7606556d2366012417d7654cfdc2556484b2e1b9'
-'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-
-prepare() {
-  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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 1238034, 
mediastreamer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-06-15 14:47:42 UTC (rev 1238035)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+pkgname=mediastreamer
+pkgver=5.1.43
+pkgrel=1
+pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
+arch=(x86_64)
+url='https://gitlab.linphone.org/'
+license=(GPL)
+depends=(ortp ffmpeg bzrtp glew libsrtp)
+makedepends=(cmake python bcunit doxygen libyuv)
+source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
+ffmpeg5.patch)
+sha256sums=('dfd539d3003999a968bd159036d6bfde32f840f9570905ee73b61182b84a2f71'
+'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+
+prepare() {
+  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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: ffmpeg5.patch
===
--- ffmpeg5.patch   2022-06-15 14:47:29 UTC (rev 1238034)
+++ ffmpeg5.patch   2022-06-15 14:47:42 UTC (rev 1238035)
@@ -1,208 +0,0 @@
-diff --git a/src/utils/ffmpeg-priv.c b/src/utils/ffmpeg-priv.c
-index a3a801a9..9d696f17 100644
 a/src/utils/ffmpeg-priv.c
-+++ b/src/utils/ffmpeg-priv.c
-@@ -23,31 +23,22 @@
- 
- #ifndef HAVE_FUN_avcodec_encode_video2
- int avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const 
AVFrame *frame, int *got_packet_ptr) {
--  int error=avcodec_encode_video(avctx, avpkt->data, avpkt->size,frame);
--  if (error<0){
--  return error;
--  }else{
--  if (error>0) {
--  *got_packet_ptr=1;
--  avpkt->size=error;
--  }else *got_packet_ptr=0;
--  }
--  return 0;
--}
--#endif
-+int ret;
- 
-+*got_packet_ptr = 0;
- 
-+ret = avcodec_send_frame(avctx, frame);
-+if (ret < 0)
-+return ret;
- 
--#ifndef HAVE_FUN_avcodec_get_context_defaults3 /**/
--int avcodec_get_context_defaults3 (AVCodecContext *s, AVCodec *codec) {
--  avcodec_get_context_defaults(s);
--  return 0;
--}
-+ret = avcodec_receive_packet(avctx, avpkt);
-+if (!ret)
-+*got_packet_ptr = 1;
-+if (ret == AVERROR(EAGAIN))
-+return 0;
- 
--AVCodecContext *avcodec_alloc_context3(AVCodec *codec){
--  return avcodec_alloc_context();
-+return ret;
- }
--
- #endif
- 
- 
-diff --git a/src/utils/ffmpeg-priv.h b/src/utils/ffmpeg-priv.h

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

2022-05-18 Thread Antonio Rojas via arch-commits
Date: Wednesday, May 18, 2022 @ 18:58:27
  Author: arojas
Revision: 1209134

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
(from rev 1209133, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/ffmpeg5.patch
(from rev 1209133, mediastreamer/trunk/ffmpeg5.patch)
Deleted:
  mediastreamer/repos/community-x86_64/PKGBUILD
  mediastreamer/repos/community-x86_64/ffmpeg5.patch

---+
 PKGBUILD  |   74 -
 ffmpeg5.patch |  416 
 2 files changed, 245 insertions(+), 245 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-18 18:58:16 UTC (rev 1209133)
+++ PKGBUILD2022-05-18 18:58:27 UTC (rev 1209134)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-pkgname=mediastreamer
-pkgver=5.1.30
-pkgrel=1
-pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
-arch=(x86_64)
-url='https://gitlab.linphone.org/'
-license=(GPL)
-depends=(ortp ffmpeg bzrtp glew libsrtp)
-makedepends=(cmake python bcunit doxygen)
-source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
-ffmpeg5.patch)
-sha256sums=('3368035216f8094b18450e2f85594b135649a63c885fb29a05c5dc0e0e314817'
-'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-
-prepare() {
-  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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 1209133, 
mediastreamer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-18 18:58:27 UTC (rev 1209134)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+pkgname=mediastreamer
+pkgver=5.1.31
+pkgrel=1
+pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
+arch=(x86_64)
+url='https://gitlab.linphone.org/'
+license=(GPL)
+depends=(ortp ffmpeg bzrtp glew libsrtp)
+makedepends=(cmake python bcunit doxygen libyuv)
+source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
+ffmpeg5.patch)
+sha256sums=('4c4dbe96e38c79df11ef886f7606556d2366012417d7654cfdc2556484b2e1b9'
+'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+
+prepare() {
+  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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: ffmpeg5.patch
===
--- ffmpeg5.patch   2022-05-18 18:58:16 UTC (rev 1209133)
+++ ffmpeg5.patch   2022-05-18 18:58:27 UTC (rev 1209134)
@@ -1,208 +0,0 @@
-diff --git a/src/utils/ffmpeg-priv.c b/src/utils/ffmpeg-priv.c
-index a3a801a9..9d696f17 100644
 a/src/utils/ffmpeg-priv.c
-+++ b/src/utils/ffmpeg-priv.c
-@@ -23,31 +23,22 @@
- 
- #ifndef HAVE_FUN_avcodec_encode_video2
- int avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const 
AVFrame *frame, int *got_packet_ptr) {
--  int error=avcodec_encode_video(avctx, avpkt->data, avpkt->size,frame);
--  if (error<0){
--  return error;
--  }else{
--  if (error>0) {
--  *got_packet_ptr=1;
--  avpkt->size=error;
--  }else *got_packet_ptr=0;
--  }
--  return 0;
--}
--#endif
-+int ret;
- 
-+*got_packet_ptr = 0;
- 
-+ret = avcodec_send_frame(avctx, frame);
-+if (ret < 0)
-+return ret;
- 
--#ifndef HAVE_FUN_avcodec_get_context_defaults3 /**/
--int avcodec_get_context_defaults3 (AVCodecContext *s, AVCodec *codec) {
--  avcodec_get_context_defaults(s);
--  return 0;
--}
-+ret = avcodec_receive_packet(avctx, avpkt);
-+if (!ret)
-+*got_packet_ptr = 1;
-+if (ret == AVERROR(EAGAIN))
-+return 0;
- 
--AVCodecContext *avcodec_alloc_context3(AVCodec *codec){
--  return avcodec_alloc_context();
-+return ret;
- }
--
- #endif
- 
- 
-diff --git a/src/utils/ffmpeg-priv.h b/src/utils/ffmpeg-priv.h
-index 

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

2022-05-13 Thread Antonio Rojas via arch-commits
Date: Friday, May 13, 2022 @ 11:37:40
  Author: arojas
Revision: 1201833

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
(from rev 1201832, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/ffmpeg5.patch
(from rev 1201832, mediastreamer/trunk/ffmpeg5.patch)
Deleted:
  mediastreamer/repos/community-x86_64/PKGBUILD
  mediastreamer/repos/community-x86_64/ffmpeg5.patch

---+
 PKGBUILD  |   74 -
 ffmpeg5.patch |  416 
 2 files changed, 245 insertions(+), 245 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-13 11:37:34 UTC (rev 1201832)
+++ PKGBUILD2022-05-13 11:37:40 UTC (rev 1201833)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-pkgname=mediastreamer
-pkgver=5.1.29
-pkgrel=1
-pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
-arch=(x86_64)
-url='https://gitlab.linphone.org/'
-license=(GPL)
-depends=(ortp ffmpeg bzrtp glew libsrtp)
-makedepends=(cmake python bcunit doxygen)
-source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
-ffmpeg5.patch)
-sha256sums=('d6c2f403c2b15f03ef293425de2604141bc935bbee9a7bfafea38fabe7bb593a'
-'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-
-prepare() {
-  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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 1201832, 
mediastreamer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-13 11:37:40 UTC (rev 1201833)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+pkgname=mediastreamer
+pkgver=5.1.30
+pkgrel=1
+pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
+arch=(x86_64)
+url='https://gitlab.linphone.org/'
+license=(GPL)
+depends=(ortp ffmpeg bzrtp glew libsrtp)
+makedepends=(cmake python bcunit doxygen)
+source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
+ffmpeg5.patch)
+sha256sums=('3368035216f8094b18450e2f85594b135649a63c885fb29a05c5dc0e0e314817'
+'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+
+prepare() {
+  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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: ffmpeg5.patch
===
--- ffmpeg5.patch   2022-05-13 11:37:34 UTC (rev 1201832)
+++ ffmpeg5.patch   2022-05-13 11:37:40 UTC (rev 1201833)
@@ -1,208 +0,0 @@
-diff --git a/src/utils/ffmpeg-priv.c b/src/utils/ffmpeg-priv.c
-index a3a801a9..9d696f17 100644
 a/src/utils/ffmpeg-priv.c
-+++ b/src/utils/ffmpeg-priv.c
-@@ -23,31 +23,22 @@
- 
- #ifndef HAVE_FUN_avcodec_encode_video2
- int avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const 
AVFrame *frame, int *got_packet_ptr) {
--  int error=avcodec_encode_video(avctx, avpkt->data, avpkt->size,frame);
--  if (error<0){
--  return error;
--  }else{
--  if (error>0) {
--  *got_packet_ptr=1;
--  avpkt->size=error;
--  }else *got_packet_ptr=0;
--  }
--  return 0;
--}
--#endif
-+int ret;
- 
-+*got_packet_ptr = 0;
- 
-+ret = avcodec_send_frame(avctx, frame);
-+if (ret < 0)
-+return ret;
- 
--#ifndef HAVE_FUN_avcodec_get_context_defaults3 /**/
--int avcodec_get_context_defaults3 (AVCodecContext *s, AVCodec *codec) {
--  avcodec_get_context_defaults(s);
--  return 0;
--}
-+ret = avcodec_receive_packet(avctx, avpkt);
-+if (!ret)
-+*got_packet_ptr = 1;
-+if (ret == AVERROR(EAGAIN))
-+return 0;
- 
--AVCodecContext *avcodec_alloc_context3(AVCodec *codec){
--  return avcodec_alloc_context();
-+return ret;
- }
--
- #endif
- 
- 
-diff --git a/src/utils/ffmpeg-priv.h b/src/utils/ffmpeg-priv.h
-index 

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

2022-05-05 Thread Antonio Rojas via arch-commits
Date: Thursday, May 5, 2022 @ 16:16:45
  Author: arojas
Revision: 1195507

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
(from rev 1195506, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/ffmpeg5.patch
(from rev 1195506, mediastreamer/trunk/ffmpeg5.patch)
Deleted:
  mediastreamer/repos/community-x86_64/PKGBUILD
  mediastreamer/repos/community-x86_64/ffmpeg5.patch

---+
 PKGBUILD  |   74 -
 ffmpeg5.patch |  416 
 2 files changed, 245 insertions(+), 245 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-05 16:16:32 UTC (rev 1195506)
+++ PKGBUILD2022-05-05 16:16:45 UTC (rev 1195507)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-pkgname=mediastreamer
-pkgver=5.1.28
-pkgrel=1
-pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
-arch=(x86_64)
-url='https://gitlab.linphone.org/'
-license=(GPL)
-depends=(ortp ffmpeg bzrtp glew libsrtp)
-makedepends=(cmake python bcunit doxygen)
-source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
-ffmpeg5.patch)
-sha256sums=('119ee8137deaecbd6eb803160257bc42c66cc7a1b2846714911d2e8e7a866d40'
-'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-
-prepare() {
-  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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 1195506, 
mediastreamer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-05 16:16:45 UTC (rev 1195507)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+pkgname=mediastreamer
+pkgver=5.1.29
+pkgrel=1
+pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
+arch=(x86_64)
+url='https://gitlab.linphone.org/'
+license=(GPL)
+depends=(ortp ffmpeg bzrtp glew libsrtp)
+makedepends=(cmake python bcunit doxygen)
+source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
+ffmpeg5.patch)
+sha256sums=('d6c2f403c2b15f03ef293425de2604141bc935bbee9a7bfafea38fabe7bb593a'
+'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+
+prepare() {
+  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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: ffmpeg5.patch
===
--- ffmpeg5.patch   2022-05-05 16:16:32 UTC (rev 1195506)
+++ ffmpeg5.patch   2022-05-05 16:16:45 UTC (rev 1195507)
@@ -1,208 +0,0 @@
-diff --git a/src/utils/ffmpeg-priv.c b/src/utils/ffmpeg-priv.c
-index a3a801a9..9d696f17 100644
 a/src/utils/ffmpeg-priv.c
-+++ b/src/utils/ffmpeg-priv.c
-@@ -23,31 +23,22 @@
- 
- #ifndef HAVE_FUN_avcodec_encode_video2
- int avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const 
AVFrame *frame, int *got_packet_ptr) {
--  int error=avcodec_encode_video(avctx, avpkt->data, avpkt->size,frame);
--  if (error<0){
--  return error;
--  }else{
--  if (error>0) {
--  *got_packet_ptr=1;
--  avpkt->size=error;
--  }else *got_packet_ptr=0;
--  }
--  return 0;
--}
--#endif
-+int ret;
- 
-+*got_packet_ptr = 0;
- 
-+ret = avcodec_send_frame(avctx, frame);
-+if (ret < 0)
-+return ret;
- 
--#ifndef HAVE_FUN_avcodec_get_context_defaults3 /**/
--int avcodec_get_context_defaults3 (AVCodecContext *s, AVCodec *codec) {
--  avcodec_get_context_defaults(s);
--  return 0;
--}
-+ret = avcodec_receive_packet(avctx, avpkt);
-+if (!ret)
-+*got_packet_ptr = 1;
-+if (ret == AVERROR(EAGAIN))
-+return 0;
- 
--AVCodecContext *avcodec_alloc_context3(AVCodec *codec){
--  return avcodec_alloc_context();
-+return ret;
- }
--
- #endif
- 
- 
-diff --git a/src/utils/ffmpeg-priv.h b/src/utils/ffmpeg-priv.h
-index 

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

2022-05-04 Thread Antonio Rojas via arch-commits
Date: Wednesday, May 4, 2022 @ 14:29:42
  Author: arojas
Revision: 1194427

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
(from rev 1194426, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/ffmpeg5.patch
(from rev 1194426, mediastreamer/trunk/ffmpeg5.patch)
Deleted:
  mediastreamer/repos/community-x86_64/PKGBUILD
  mediastreamer/repos/community-x86_64/ffmpeg5.patch

---+
 PKGBUILD  |   74 -
 ffmpeg5.patch |  416 
 2 files changed, 245 insertions(+), 245 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-05-04 14:29:30 UTC (rev 1194426)
+++ PKGBUILD2022-05-04 14:29:42 UTC (rev 1194427)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-pkgname=mediastreamer
-pkgver=5.1.20
-pkgrel=1
-pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
-arch=(x86_64)
-url='https://gitlab.linphone.org/'
-license=(GPL)
-depends=(ortp ffmpeg bzrtp glew libsrtp)
-makedepends=(cmake python bcunit doxygen)
-source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
-ffmpeg5.patch)
-sha256sums=('d5d9c2436ab21eae99b0620435ede7c142ab9f6c3870eda4c88bd8402cd8a75e'
-'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-
-prepare() {
-  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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 1194426, 
mediastreamer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-05-04 14:29:42 UTC (rev 1194427)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+pkgname=mediastreamer
+pkgver=5.1.28
+pkgrel=1
+pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
+arch=(x86_64)
+url='https://gitlab.linphone.org/'
+license=(GPL)
+depends=(ortp ffmpeg bzrtp glew libsrtp)
+makedepends=(cmake python bcunit doxygen)
+source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
+ffmpeg5.patch)
+sha256sums=('119ee8137deaecbd6eb803160257bc42c66cc7a1b2846714911d2e8e7a866d40'
+'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+
+prepare() {
+  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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: ffmpeg5.patch
===
--- ffmpeg5.patch   2022-05-04 14:29:30 UTC (rev 1194426)
+++ ffmpeg5.patch   2022-05-04 14:29:42 UTC (rev 1194427)
@@ -1,208 +0,0 @@
-diff --git a/src/utils/ffmpeg-priv.c b/src/utils/ffmpeg-priv.c
-index a3a801a9..9d696f17 100644
 a/src/utils/ffmpeg-priv.c
-+++ b/src/utils/ffmpeg-priv.c
-@@ -23,31 +23,22 @@
- 
- #ifndef HAVE_FUN_avcodec_encode_video2
- int avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const 
AVFrame *frame, int *got_packet_ptr) {
--  int error=avcodec_encode_video(avctx, avpkt->data, avpkt->size,frame);
--  if (error<0){
--  return error;
--  }else{
--  if (error>0) {
--  *got_packet_ptr=1;
--  avpkt->size=error;
--  }else *got_packet_ptr=0;
--  }
--  return 0;
--}
--#endif
-+int ret;
- 
-+*got_packet_ptr = 0;
- 
-+ret = avcodec_send_frame(avctx, frame);
-+if (ret < 0)
-+return ret;
- 
--#ifndef HAVE_FUN_avcodec_get_context_defaults3 /**/
--int avcodec_get_context_defaults3 (AVCodecContext *s, AVCodec *codec) {
--  avcodec_get_context_defaults(s);
--  return 0;
--}
-+ret = avcodec_receive_packet(avctx, avpkt);
-+if (!ret)
-+*got_packet_ptr = 1;
-+if (ret == AVERROR(EAGAIN))
-+return 0;
- 
--AVCodecContext *avcodec_alloc_context3(AVCodec *codec){
--  return avcodec_alloc_context();
-+return ret;
- }
--
- #endif
- 
- 
-diff --git a/src/utils/ffmpeg-priv.h b/src/utils/ffmpeg-priv.h
-index 

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

2022-04-06 Thread Antonio Rojas via arch-commits
Date: Wednesday, April 6, 2022 @ 19:47:32
  Author: arojas
Revision: 1181636

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
(from rev 1181635, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/ffmpeg5.patch
(from rev 1181635, mediastreamer/trunk/ffmpeg5.patch)
Deleted:
  mediastreamer/repos/community-x86_64/PKGBUILD
  mediastreamer/repos/community-x86_64/ffmpeg5.patch

---+
 PKGBUILD  |   74 -
 ffmpeg5.patch |  416 
 2 files changed, 245 insertions(+), 245 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-04-06 19:47:20 UTC (rev 1181635)
+++ PKGBUILD2022-04-06 19:47:32 UTC (rev 1181636)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-pkgname=mediastreamer
-pkgver=5.1.10
-pkgrel=1
-pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
-arch=(x86_64)
-url='https://gitlab.linphone.org/'
-license=(GPL)
-depends=(ortp ffmpeg bzrtp glew libsrtp)
-makedepends=(cmake python bcunit doxygen)
-source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
-ffmpeg5.patch)
-sha256sums=('8dfb9db5326cc4e279f3775a5079fbce86f8f5caf05f52679ceb304800e0a5df'
-'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-
-prepare() {
-  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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 1181635, 
mediastreamer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-04-06 19:47:32 UTC (rev 1181636)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+pkgname=mediastreamer
+pkgver=5.1.20
+pkgrel=1
+pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
+arch=(x86_64)
+url='https://gitlab.linphone.org/'
+license=(GPL)
+depends=(ortp ffmpeg bzrtp glew libsrtp)
+makedepends=(cmake python bcunit doxygen)
+source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
+ffmpeg5.patch)
+sha256sums=('d5d9c2436ab21eae99b0620435ede7c142ab9f6c3870eda4c88bd8402cd8a75e'
+'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+
+prepare() {
+  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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: ffmpeg5.patch
===
--- ffmpeg5.patch   2022-04-06 19:47:20 UTC (rev 1181635)
+++ ffmpeg5.patch   2022-04-06 19:47:32 UTC (rev 1181636)
@@ -1,208 +0,0 @@
-diff --git a/src/utils/ffmpeg-priv.c b/src/utils/ffmpeg-priv.c
-index a3a801a9..9d696f17 100644
 a/src/utils/ffmpeg-priv.c
-+++ b/src/utils/ffmpeg-priv.c
-@@ -23,31 +23,22 @@
- 
- #ifndef HAVE_FUN_avcodec_encode_video2
- int avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const 
AVFrame *frame, int *got_packet_ptr) {
--  int error=avcodec_encode_video(avctx, avpkt->data, avpkt->size,frame);
--  if (error<0){
--  return error;
--  }else{
--  if (error>0) {
--  *got_packet_ptr=1;
--  avpkt->size=error;
--  }else *got_packet_ptr=0;
--  }
--  return 0;
--}
--#endif
-+int ret;
- 
-+*got_packet_ptr = 0;
- 
-+ret = avcodec_send_frame(avctx, frame);
-+if (ret < 0)
-+return ret;
- 
--#ifndef HAVE_FUN_avcodec_get_context_defaults3 /**/
--int avcodec_get_context_defaults3 (AVCodecContext *s, AVCodec *codec) {
--  avcodec_get_context_defaults(s);
--  return 0;
--}
-+ret = avcodec_receive_packet(avctx, avpkt);
-+if (!ret)
-+*got_packet_ptr = 1;
-+if (ret == AVERROR(EAGAIN))
-+return 0;
- 
--AVCodecContext *avcodec_alloc_context3(AVCodec *codec){
--  return avcodec_alloc_context();
-+return ret;
- }
--
- #endif
- 
- 
-diff --git a/src/utils/ffmpeg-priv.h b/src/utils/ffmpeg-priv.h
-index 

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

2022-03-14 Thread Antonio Rojas via arch-commits
Date: Monday, March 14, 2022 @ 20:52:04
  Author: arojas
Revision: 1153176

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
(from rev 1153175, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/ffmpeg5.patch
(from rev 1153175, mediastreamer/trunk/ffmpeg5.patch)
Deleted:
  mediastreamer/repos/community-x86_64/PKGBUILD
  mediastreamer/repos/community-x86_64/ffmpeg5.patch

---+
 PKGBUILD  |   74 -
 ffmpeg5.patch |  416 
 2 files changed, 245 insertions(+), 245 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-14 20:51:51 UTC (rev 1153175)
+++ PKGBUILD2022-03-14 20:52:04 UTC (rev 1153176)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-pkgname=mediastreamer
-pkgver=5.1.3
-pkgrel=1
-pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
-arch=(x86_64)
-url='https://gitlab.linphone.org/'
-license=(GPL)
-depends=(ortp ffmpeg bzrtp glew libsrtp)
-makedepends=(cmake python bcunit doxygen)
-source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
-ffmpeg5.patch)
-sha256sums=('36b0a654edc755f230da86a1ec7b7c863040420055c96a41a265bf91339419c0'
-'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-
-prepare() {
-  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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 1153175, 
mediastreamer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-14 20:52:04 UTC (rev 1153176)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+pkgname=mediastreamer
+pkgver=5.1.10
+pkgrel=1
+pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
+arch=(x86_64)
+url='https://gitlab.linphone.org/'
+license=(GPL)
+depends=(ortp ffmpeg bzrtp glew libsrtp)
+makedepends=(cmake python bcunit doxygen)
+source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
+ffmpeg5.patch)
+sha256sums=('8dfb9db5326cc4e279f3775a5079fbce86f8f5caf05f52679ceb304800e0a5df'
+'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+
+prepare() {
+  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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: ffmpeg5.patch
===
--- ffmpeg5.patch   2022-03-14 20:51:51 UTC (rev 1153175)
+++ ffmpeg5.patch   2022-03-14 20:52:04 UTC (rev 1153176)
@@ -1,208 +0,0 @@
-diff --git a/src/utils/ffmpeg-priv.c b/src/utils/ffmpeg-priv.c
-index a3a801a9..9d696f17 100644
 a/src/utils/ffmpeg-priv.c
-+++ b/src/utils/ffmpeg-priv.c
-@@ -23,31 +23,22 @@
- 
- #ifndef HAVE_FUN_avcodec_encode_video2
- int avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const 
AVFrame *frame, int *got_packet_ptr) {
--  int error=avcodec_encode_video(avctx, avpkt->data, avpkt->size,frame);
--  if (error<0){
--  return error;
--  }else{
--  if (error>0) {
--  *got_packet_ptr=1;
--  avpkt->size=error;
--  }else *got_packet_ptr=0;
--  }
--  return 0;
--}
--#endif
-+int ret;
- 
-+*got_packet_ptr = 0;
- 
-+ret = avcodec_send_frame(avctx, frame);
-+if (ret < 0)
-+return ret;
- 
--#ifndef HAVE_FUN_avcodec_get_context_defaults3 /**/
--int avcodec_get_context_defaults3 (AVCodecContext *s, AVCodec *codec) {
--  avcodec_get_context_defaults(s);
--  return 0;
--}
-+ret = avcodec_receive_packet(avctx, avpkt);
-+if (!ret)
-+*got_packet_ptr = 1;
-+if (ret == AVERROR(EAGAIN))
-+return 0;
- 
--AVCodecContext *avcodec_alloc_context3(AVCodec *codec){
--  return avcodec_alloc_context();
-+return ret;
- }
--
- #endif
- 
- 
-diff --git a/src/utils/ffmpeg-priv.h b/src/utils/ffmpeg-priv.h
-index 

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

2022-03-09 Thread Antonio Rojas via arch-commits
Date: Wednesday, March 9, 2022 @ 20:50:01
  Author: arojas
Revision: 1145756

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
(from rev 1145755, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/ffmpeg5.patch
(from rev 1145755, mediastreamer/trunk/ffmpeg5.patch)
Deleted:
  mediastreamer/repos/community-x86_64/PKGBUILD
  mediastreamer/repos/community-x86_64/ffmpeg5.patch

---+
 PKGBUILD  |   74 -
 ffmpeg5.patch |  416 
 2 files changed, 245 insertions(+), 245 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-09 20:49:49 UTC (rev 1145755)
+++ PKGBUILD2022-03-09 20:50:01 UTC (rev 1145756)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-pkgname=mediastreamer
-pkgver=5.1.2
-pkgrel=2
-pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
-arch=(x86_64)
-url='https://gitlab.linphone.org/'
-license=(GPL)
-depends=(ortp ffmpeg bzrtp glew libsrtp)
-makedepends=(cmake python bcunit doxygen)
-source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
-ffmpeg5.patch)
-sha256sums=('3b956301352b322aa734e6c23280c590093943a59ef9c3c38918c1af5e50104c'
-'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-
-prepare() {
-  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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 1145755, 
mediastreamer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-09 20:50:01 UTC (rev 1145756)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+pkgname=mediastreamer
+pkgver=5.1.3
+pkgrel=1
+pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
+arch=(x86_64)
+url='https://gitlab.linphone.org/'
+license=(GPL)
+depends=(ortp ffmpeg bzrtp glew libsrtp)
+makedepends=(cmake python bcunit doxygen)
+source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
+ffmpeg5.patch)
+sha256sums=('36b0a654edc755f230da86a1ec7b7c863040420055c96a41a265bf91339419c0'
+'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+
+prepare() {
+  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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: ffmpeg5.patch
===
--- ffmpeg5.patch   2022-03-09 20:49:49 UTC (rev 1145755)
+++ ffmpeg5.patch   2022-03-09 20:50:01 UTC (rev 1145756)
@@ -1,208 +0,0 @@
-diff --git a/src/utils/ffmpeg-priv.c b/src/utils/ffmpeg-priv.c
-index a3a801a9..9d696f17 100644
 a/src/utils/ffmpeg-priv.c
-+++ b/src/utils/ffmpeg-priv.c
-@@ -23,31 +23,22 @@
- 
- #ifndef HAVE_FUN_avcodec_encode_video2
- int avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const 
AVFrame *frame, int *got_packet_ptr) {
--  int error=avcodec_encode_video(avctx, avpkt->data, avpkt->size,frame);
--  if (error<0){
--  return error;
--  }else{
--  if (error>0) {
--  *got_packet_ptr=1;
--  avpkt->size=error;
--  }else *got_packet_ptr=0;
--  }
--  return 0;
--}
--#endif
-+int ret;
- 
-+*got_packet_ptr = 0;
- 
-+ret = avcodec_send_frame(avctx, frame);
-+if (ret < 0)
-+return ret;
- 
--#ifndef HAVE_FUN_avcodec_get_context_defaults3 /**/
--int avcodec_get_context_defaults3 (AVCodecContext *s, AVCodec *codec) {
--  avcodec_get_context_defaults(s);
--  return 0;
--}
-+ret = avcodec_receive_packet(avctx, avpkt);
-+if (!ret)
-+*got_packet_ptr = 1;
-+if (ret == AVERROR(EAGAIN))
-+return 0;
- 
--AVCodecContext *avcodec_alloc_context3(AVCodec *codec){
--  return avcodec_alloc_context();
-+return ret;
- }
--
- #endif
- 
- 
-diff --git a/src/utils/ffmpeg-priv.h b/src/utils/ffmpeg-priv.h
-index 

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

2022-02-15 Thread Antonio Rojas via arch-commits
Date: Tuesday, February 15, 2022 @ 20:58:08
  Author: arojas
Revision: 1133393

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
(from rev 1133392, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/ffmpeg5.patch
(from rev 1133392, mediastreamer/trunk/ffmpeg5.patch)
Deleted:
  mediastreamer/repos/community-x86_64/PKGBUILD
  mediastreamer/repos/community-x86_64/ffmpeg5.patch

---+
 PKGBUILD  |   74 -
 ffmpeg5.patch |  416 
 2 files changed, 245 insertions(+), 245 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-15 20:57:57 UTC (rev 1133392)
+++ PKGBUILD2022-02-15 20:58:08 UTC (rev 1133393)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-pkgname=mediastreamer
-pkgver=5.1.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://gitlab.linphone.org/'
-license=(GPL)
-depends=(ortp ffmpeg bzrtp glew libsrtp)
-makedepends=(cmake python bcunit doxygen)
-source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
-ffmpeg5.patch)
-sha256sums=('1fd84ff6e414df5bedbdf325b88087bc389dee75d1199434bf2a0dcd97150dd4'
-'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-
-#prepare() {
-#  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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 1133392, 
mediastreamer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-15 20:58:08 UTC (rev 1133393)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+pkgname=mediastreamer
+pkgver=5.1.2
+pkgrel=1
+pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
+arch=(x86_64)
+url='https://gitlab.linphone.org/'
+license=(GPL)
+depends=(ortp ffmpeg bzrtp glew libsrtp)
+makedepends=(cmake python bcunit doxygen)
+source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
+ffmpeg5.patch)
+sha256sums=('3b956301352b322aa734e6c23280c590093943a59ef9c3c38918c1af5e50104c'
+'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+
+#prepare() {
+# patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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: ffmpeg5.patch
===
--- ffmpeg5.patch   2022-02-15 20:57:57 UTC (rev 1133392)
+++ ffmpeg5.patch   2022-02-15 20:58:08 UTC (rev 1133393)
@@ -1,208 +0,0 @@
-diff --git a/src/utils/ffmpeg-priv.c b/src/utils/ffmpeg-priv.c
-index a3a801a9..9d696f17 100644
 a/src/utils/ffmpeg-priv.c
-+++ b/src/utils/ffmpeg-priv.c
-@@ -23,31 +23,22 @@
- 
- #ifndef HAVE_FUN_avcodec_encode_video2
- int avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const 
AVFrame *frame, int *got_packet_ptr) {
--  int error=avcodec_encode_video(avctx, avpkt->data, avpkt->size,frame);
--  if (error<0){
--  return error;
--  }else{
--  if (error>0) {
--  *got_packet_ptr=1;
--  avpkt->size=error;
--  }else *got_packet_ptr=0;
--  }
--  return 0;
--}
--#endif
-+int ret;
- 
-+*got_packet_ptr = 0;
- 
-+ret = avcodec_send_frame(avctx, frame);
-+if (ret < 0)
-+return ret;
- 
--#ifndef HAVE_FUN_avcodec_get_context_defaults3 /**/
--int avcodec_get_context_defaults3 (AVCodecContext *s, AVCodec *codec) {
--  avcodec_get_context_defaults(s);
--  return 0;
--}
-+ret = avcodec_receive_packet(avctx, avpkt);
-+if (!ret)
-+*got_packet_ptr = 1;
-+if (ret == AVERROR(EAGAIN))
-+return 0;
- 
--AVCodecContext *avcodec_alloc_context3(AVCodec *codec){
--  return avcodec_alloc_context();
-+return ret;
- }
--
- #endif
- 
- 
-diff --git a/src/utils/ffmpeg-priv.h b/src/utils/ffmpeg-priv.h
-index 

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

2022-02-09 Thread Antonio Rojas via arch-commits
Date: Wednesday, February 9, 2022 @ 20:22:46
  Author: arojas
Revision: 1130399

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
(from rev 1130398, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/ffmpeg5.patch
(from rev 1130398, mediastreamer/trunk/ffmpeg5.patch)
Deleted:
  mediastreamer/repos/community-x86_64/PKGBUILD
  mediastreamer/repos/community-x86_64/ffmpeg5.patch

---+
 PKGBUILD  |   74 -
 ffmpeg5.patch |  416 
 2 files changed, 245 insertions(+), 245 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-02-09 20:22:34 UTC (rev 1130398)
+++ PKGBUILD2022-02-09 20:22:46 UTC (rev 1130399)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-pkgname=mediastreamer
-pkgver=5.0.67
-pkgrel=1
-pkgdesc='A library written in C that allows you to create and run audio and 
video streams'
-arch=(x86_64)
-url='https://gitlab.linphone.org/'
-license=(GPL)
-depends=(ortp ffmpeg bzrtp glew libsrtp)
-makedepends=(cmake python bcunit doxygen)
-source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
-ffmpeg5.patch)
-sha256sums=('3203372d4c79d85a8413e98dc0be0579355f59950834d05ab96655cb23e6a69a'
-'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
-validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
-
-#prepare() {
-#  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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 1130398, 
mediastreamer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-02-09 20:22:46 UTC (rev 1130399)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+pkgname=mediastreamer
+pkgver=5.1.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://gitlab.linphone.org/'
+license=(GPL)
+depends=(ortp ffmpeg bzrtp glew libsrtp)
+makedepends=(cmake python bcunit doxygen)
+source=(https://gitlab.linphone.org/BC/public/${pkgname}2/-/archive/$pkgver/${pkgname}2-$pkgver.tar.bz2
+ffmpeg5.patch)
+sha256sums=('1fd84ff6e414df5bedbdf325b88087bc389dee75d1199434bf2a0dcd97150dd4'
+'e97e029cbbafe5245eaa6f92664224e4381eea5f45e403d5bfa6b0e5c2be0341')
+validpgpkeys=('9774BC1725758EB16D639F8B3ECD52DEE2F56985')
+
+#prepare() {
+#  patch -d ${pkgname}2-$pkgver -p1 < ffmpeg5.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: ffmpeg5.patch
===
--- ffmpeg5.patch   2022-02-09 20:22:34 UTC (rev 1130398)
+++ ffmpeg5.patch   2022-02-09 20:22:46 UTC (rev 1130399)
@@ -1,208 +0,0 @@
-diff --git a/src/utils/ffmpeg-priv.c b/src/utils/ffmpeg-priv.c
-index a3a801a9..9d696f17 100644
 a/src/utils/ffmpeg-priv.c
-+++ b/src/utils/ffmpeg-priv.c
-@@ -23,31 +23,22 @@
- 
- #ifndef HAVE_FUN_avcodec_encode_video2
- int avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const 
AVFrame *frame, int *got_packet_ptr) {
--  int error=avcodec_encode_video(avctx, avpkt->data, avpkt->size,frame);
--  if (error<0){
--  return error;
--  }else{
--  if (error>0) {
--  *got_packet_ptr=1;
--  avpkt->size=error;
--  }else *got_packet_ptr=0;
--  }
--  return 0;
--}
--#endif
-+int ret;
- 
-+*got_packet_ptr = 0;
- 
-+ret = avcodec_send_frame(avctx, frame);
-+if (ret < 0)
-+return ret;
- 
--#ifndef HAVE_FUN_avcodec_get_context_defaults3 /**/
--int avcodec_get_context_defaults3 (AVCodecContext *s, AVCodec *codec) {
--  avcodec_get_context_defaults(s);
--  return 0;
--}
-+ret = avcodec_receive_packet(avctx, avpkt);
-+if (!ret)
-+*got_packet_ptr = 1;
-+if (ret == AVERROR(EAGAIN))
-+return 0;
- 
--AVCodecContext *avcodec_alloc_context3(AVCodec *codec){
--  return avcodec_alloc_context();
-+return ret;
- }
--
- #endif
- 
- 
-diff --git a/src/utils/ffmpeg-priv.h b/src/utils/ffmpeg-priv.h
-index 

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

2021-08-10 Thread Antonio Rojas via arch-commits
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
===
--- PKGBUILD2021-08-10 19:33:16 UTC (rev 997401)
+++ PKGBUILD2021-08-10 19:33:28 UTC (rev 997402)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-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)
+++ PKGBUILD2021-08-10 19:33:28 UTC (rev 997402)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+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, );
-+  err = srtp_add_stream(srtp, );
-   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, );
++  err = srtp_add_stream(srtp, );
+   if (err != err_status_ok) 

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

2021-08-10 Thread Antonio Rojas via arch-commits
Date: Tuesday, August 10, 2021 @ 16:51:01
  Author: arojas
Revision: 997398

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
(from rev 997397, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/fix-build.patch
(from rev 997397, 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
===
--- PKGBUILD2021-08-10 16:50:51 UTC (rev 997397)
+++ PKGBUILD2021-08-10 16:51:01 UTC (rev 997398)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-pkgname=mediastreamer
-pkgver=5.0.3
-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=('4ffa91e380fa824c2e1fbe897ff2897738a769949f86df8c9017819cdd6d22d0'
-'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 997397, 
mediastreamer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-08-10 16:51:01 UTC (rev 997398)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+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
+}

Deleted: fix-build.patch
===
--- fix-build.patch 2021-08-10 16:50:51 UTC (rev 997397)
+++ fix-build.patch 2021-08-10 16:51:01 UTC (rev 997398)
@@ -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, );
-+  err = srtp_add_stream(srtp, );
-   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 997397, 
mediastreamer/trunk/fix-build.patch)
===
--- fix-build.patch (rev 0)
+++ fix-build.patch 2021-08-10 16:51:01 UTC (rev 997398)
@@ -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, );
++  err = srtp_add_stream(srtp, );
+   if (err != err_status_ok) 

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

2021-07-29 Thread Antonio Rojas via arch-commits
Date: Thursday, July 29, 2021 @ 17:59:15
  Author: arojas
Revision: 990484

archrelease: copy trunk to community-x86_64

Added:
  mediastreamer/repos/community-x86_64/PKGBUILD
(from rev 990483, mediastreamer/trunk/PKGBUILD)
  mediastreamer/repos/community-x86_64/fix-build.patch
(from rev 990483, 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
===
--- PKGBUILD2021-07-29 17:59:03 UTC (rev 990483)
+++ PKGBUILD2021-07-29 17:59:15 UTC (rev 990484)
@@ -1,37 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-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
-}

Copied: mediastreamer/repos/community-x86_64/PKGBUILD (from rev 990483, 
mediastreamer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-29 17:59:15 UTC (rev 990484)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+pkgname=mediastreamer
+pkgver=5.0.3
+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=('4ffa91e380fa824c2e1fbe897ff2897738a769949f86df8c9017819cdd6d22d0'
+'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-29 17:59:03 UTC (rev 990483)
+++ fix-build.patch 2021-07-29 17:59:15 UTC (rev 990484)
@@ -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, );
-+  err = srtp_add_stream(srtp, );
-   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 990483, 
mediastreamer/trunk/fix-build.patch)
===
--- fix-build.patch (rev 0)
+++ fix-build.patch 2021-07-29 17:59:15 UTC (rev 990484)
@@ -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, );
++  err = srtp_add_stream(srtp, );
+   if (err != err_status_ok) 

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

2021-07-08 Thread Antonio Rojas via arch-commits
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
===
--- PKGBUILD2021-07-08 18:20:07 UTC (rev 975837)
+++ PKGBUILD2021-07-08 18:20:27 UTC (rev 975838)
@@ -1,36 +0,0 @@
-# Maintainer:
-# Contributor: Andrea Scarpino 
-# Contributor: Sergej Pupykin 
-# Contributor: Adrià Arrufat 
-# Contributor: Mark Lee 
-
-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)
+++ PKGBUILD2021-07-08 18:20:27 UTC (rev 975838)
@@ -0,0 +1,37 @@
+# Maintainer:
+# Contributor: Andrea Scarpino 
+# Contributor: Sergej Pupykin 
+# Contributor: Adrià Arrufat 
+# Contributor: Mark Lee 
+
+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, );
-+  err = srtp_add_stream(srtp, );
-   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, );
++  err = srtp_add_stream(srtp, );
+   if (err != err_status_ok) {
+   ms_error("Failed to