Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] webrtc-audio-processing: update to 1.0.
@ 2023-05-24 21:20 mhmdanas
  2023-08-23  1:44 ` github-actions
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mhmdanas @ 2023-05-24 21:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]

There is a new pull request by mhmdanas against master on the void-packages repository

https://github.com/mhmdanas/void-packages webrtc-audio-processing-1.0-2
https://github.com/void-linux/void-packages/pull/44069

webrtc-audio-processing: update to 1.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

Blocked by
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/395.

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/44069.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-webrtc-audio-processing-1.0-2-44069.patch --]
[-- Type: text/x-diff, Size: 20094 bytes --]

From c622746b616b8152c85a65ec93024ac3ab8816a7 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Wed, 24 May 2023 21:49:37 +0100
Subject: [PATCH 1/7] abseil-cpp: updates for webrtc-audio-processing-1.0.

---
 common/shlibs               | 4 ++++
 srcpkgs/abseil-cpp/template | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index f1e825819fb4..18a877d9768b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4221,6 +4221,10 @@ libabsl_strings.so.2206.0.0 abseil-cpp-20220623.1_1
 libabsl_throw_delegate.so.2206.0.0 abseil-cpp-20220623.1_1
 libabsl_time_zone.so.2206.0.0 abseil-cpp-20220623.1_1
 libabsl_spinlock_wait.so.2206.0.0 abseil-cpp-20220623.1_1
+libabsl_flags_internal.so.2206.0.0 abseil-cpp-20220623.1_2
+libabsl_flags_marshalling.so.2206.0.0 abseil-cpp-20220623.1_2
+libabsl_flags_parse.so.2206.0.0 abseil-cpp-20220623.1_2
+libabsl_flags_reflection.so.2206.0.0 abseil-cpp-20220623.1_2
 libairspyhf.so.0 libairspyhf-1.6.8_1
 libtraceevent.so.1 libtraceevent-1.6.2_1
 libtracefs.so.1 libtracefs-1.4.2_1
diff --git a/srcpkgs/abseil-cpp/template b/srcpkgs/abseil-cpp/template
index 8640d2489406..bac151d84e8b 100644
--- a/srcpkgs/abseil-cpp/template
+++ b/srcpkgs/abseil-cpp/template
@@ -1,9 +1,10 @@
 # Template file for 'abseil-cpp'
 pkgname=abseil-cpp
 version=20220623.1
-revision=1
+revision=2
 build_style=cmake
-configure_args="-DBUILD_SHARED_LIBS=ON -DABSL_PROPAGATE_CXX_STD=ON"
+configure_args="-DBUILD_SHARED_LIBS=ON -DABSL_PROPAGATE_CXX_STD=ON
+ -DCMAKE_CXX_STANDARD=17"
 hostmakedepends="pkg-config"
 short_desc="Abseil common libraries"
 maintainer="Andrew J. Hesford <ajh@sideband.org>"

From 285cb48e91e586b73a96fd2af3d8a0bdd2a88119 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Wed, 24 May 2023 21:55:03 +0100
Subject: [PATCH 2/7] common/build-style/meson: add cmake crossfile.

---
 common/build-style/meson.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/build-style/meson.sh b/common/build-style/meson.sh
index e983c5f42c2f..663d13892050 100644
--- a/common/build-style/meson.sh
+++ b/common/build-style/meson.sh
@@ -59,6 +59,7 @@ g-ir-compiler = '${XBPS_CROSS_BASE}/usr/bin/g-ir-compiler'
 g-ir-generate = '${XBPS_CROSS_BASE}/usr/bin/g-ir-generate'
 llvm-config = '/usr/bin/llvm-config'
 cups-config = '${XBPS_CROSS_BASE}/usr/bin/cups-config'
+cmake = '/usr/bin/cmake'
 
 [properties]
 needs_exe_wrapper = true

From 3928875abf9a38dab271161612cb5e0132b03a59 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Wed, 24 May 2023 22:01:40 +0100
Subject: [PATCH 3/7] webrtc-audio-processing: update to 1.0.

---
 common/shlibs                                 |   3 +-
 ...07f93d3983033e176e95f5134a57900a7f6e.patch |  69 +++++++++++
 ...yte-order-and-pointer-size-detection.patch |  33 -----
 ...1d5746ea5017b9b32efbffc7fc6f9d944bb7.patch |  31 +++++
 .../patches/mips.patch                        | 113 ------------------
 .../patches/musl.patch                        |  20 ----
 srcpkgs/webrtc-audio-processing/template      |  27 ++---
 7 files changed, 113 insertions(+), 183 deletions(-)
 create mode 100644 srcpkgs/webrtc-audio-processing/patches/3f9907f93d3983033e176e95f5134a57900a7f6e.patch
 delete mode 100644 srcpkgs/webrtc-audio-processing/patches/Add-generic-byte-order-and-pointer-size-detection.patch
 create mode 100644 srcpkgs/webrtc-audio-processing/patches/b34c1d5746ea5017b9b32efbffc7fc6f9d944bb7.patch
 delete mode 100644 srcpkgs/webrtc-audio-processing/patches/mips.patch
 delete mode 100644 srcpkgs/webrtc-audio-processing/patches/musl.patch

diff --git a/common/shlibs b/common/shlibs
index 18a877d9768b..086bb507e818 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1059,7 +1059,8 @@ libiptcdata.so.0 libiptcdata-1.0.4_1
 libutempter.so.0 libutempter-1.1.5_1
 libxatracker.so.2 libxatracker-10.0.0_2
 libtumbler-1.so.0 tumbler-4.9.2_1
-libwebrtc_audio_processing.so.1 webrtc-audio-processing-0.3_1
+libwebrtc-audio-coding-1.so.0 webrtc-audio-processing-1.0_1
+libwebrtc-audio-processing-1.so.0 webrtc-audio-processing-1.0_1
 libcupsmime.so.1 libcups-1.5.3_1
 libcupsppdc.so.1 libcups-1.5.3_1
 libcupscgi.so.1 libcups-1.5.3_1
diff --git a/srcpkgs/webrtc-audio-processing/patches/3f9907f93d3983033e176e95f5134a57900a7f6e.patch b/srcpkgs/webrtc-audio-processing/patches/3f9907f93d3983033e176e95f5134a57900a7f6e.patch
new file mode 100644
index 000000000000..ca1e825469a5
--- /dev/null
+++ b/srcpkgs/webrtc-audio-processing/patches/3f9907f93d3983033e176e95f5134a57900a7f6e.patch
@@ -0,0 +1,69 @@
+From 3f9907f93d3983033e176e95f5134a57900a7f6e Mon Sep 17 00:00:00 2001
+From: Arun Raghavan <arun@asymptotic.io>
+Date: Thu, 10 Dec 2020 19:06:31 -0500
+Subject: [PATCH] build: Use cmake to look up abseil dependency
+
+This should be much more robust than looking up the library directly.
+
+Fixes: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/4
+---
+ .gitlab-ci.yml |  3 ++-
+ meson.build    | 21 ++++++++-------------
+ 2 files changed, 10 insertions(+), 14 deletions(-)
+
+diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
+index 11a3b78..42cd589 100644
+--- a/.gitlab-ci.yml
++++ b/.gitlab-ci.yml
+@@ -19,7 +19,7 @@ variables:
+   # CI runs, for example when adding new packages to FDO_DISTRIBUTION_PACKAGES.
+   # The tag is an arbitrary string that identifies the exact container
+   # contents.
+-  BASE_TAG: '2020-11-27.1'
++  BASE_TAG: '2020-12-10.1'
+   FDO_DISTRIBUTION_VERSION: '20.10'
+   FDO_UPSTREAM_REPO: 'pulseaudio/webrtc-audio-processing'
+ 
+@@ -43,6 +43,7 @@ include:
+     FDO_DISTRIBUTION_PACKAGES: >-
+       g++
+       gcc
++      cmake
+       libabsl-dev
+       meson
+       ninja-build
+diff --git a/meson.build b/meson.build
+index bae155e..96d84d7 100644
+--- a/meson.build
++++ b/meson.build
+@@ -40,19 +40,14 @@ os_deps = []
+ have_posix = false
+ have_win = false
+ 
+-absl_dep = [
+-  cpp.find_library('absl_base'),
+-  cpp.find_library('absl_bad_optional_access'),
+-  cpp.find_library('absl_flags_internal'),
+-  cpp.find_library('absl_flags_marshalling'),
+-  cpp.find_library('absl_flags_parse'),
+-  cpp.find_library('absl_flags_registry'),
+-  cpp.find_library('absl_flags_usage_internal'),
+-  cpp.find_library('absl_raw_logging_internal'),
+-  cpp.find_library('absl_strings'),
+-  cpp.find_library('absl_synchronization'),
+-  cpp.find_library('absl_throw_delegate'),
+-]
++absl_dep = dependency('absl', method : 'cmake',
++  modules : [
++    'absl::base',
++    'absl::flags_parse',
++    'absl::strings',
++    'absl::synchronization',
++  ]
++)
+ 
+ if ['darwin', 'ios'].contains(host_system)
+   os_cflags = ['-DWEBRTC_MAC']
+-- 
+GitLab
+
diff --git a/srcpkgs/webrtc-audio-processing/patches/Add-generic-byte-order-and-pointer-size-detection.patch b/srcpkgs/webrtc-audio-processing/patches/Add-generic-byte-order-and-pointer-size-detection.patch
deleted file mode 100644
index 1338784e69ef..000000000000
--- a/srcpkgs/webrtc-audio-processing/patches/Add-generic-byte-order-and-pointer-size-detection.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From: Than <than@redhat.com>
-Date: Wed, 8 Jun 2016 19:10:08 -0400
-Subject: Add generic byte order and pointer size detection
-
----
- webrtc/typedefs.h | 14 +++++++++++++-
- 1 file changed, 13 insertions(+), 1 deletion(-)
-
-diff --git a/webrtc/typedefs.h b/webrtc/typedefs.h
-index d875490..dc074f1 100644
---- a/webrtc/typedefs.h
-+++ b/webrtc/typedefs.h
-@@ -48,7 +48,19 @@
- #define WEBRTC_ARCH_32_BITS
- #define WEBRTC_ARCH_LITTLE_ENDIAN
- #else
--#error Please add support for your architecture in typedefs.h
-+/* instead of failing, use typical unix defines... */
-+#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
-+#define WEBRTC_ARCH_LITTLE_ENDIAN
-+#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
-+#define WEBRTC_ARCH_BIG_ENDIAN
-+#else
-+#error __BYTE_ORDER__ is not defined
-+#endif
-+#if defined(__LP64__)
-+#define WEBRTC_ARCH_64_BITS
-+#else
-+#define WEBRTC_ARCH_32_BITS
-+#endif
- #endif
- 
- #if !(defined(WEBRTC_ARCH_LITTLE_ENDIAN) ^ defined(WEBRTC_ARCH_BIG_ENDIAN))
diff --git a/srcpkgs/webrtc-audio-processing/patches/b34c1d5746ea5017b9b32efbffc7fc6f9d944bb7.patch b/srcpkgs/webrtc-audio-processing/patches/b34c1d5746ea5017b9b32efbffc7fc6f9d944bb7.patch
new file mode 100644
index 000000000000..74049a815642
--- /dev/null
+++ b/srcpkgs/webrtc-audio-processing/patches/b34c1d5746ea5017b9b32efbffc7fc6f9d944bb7.patch
@@ -0,0 +1,31 @@
+From b34c1d5746ea5017b9b32efbffc7fc6f9d944bb7 Mon Sep 17 00:00:00 2001
+From: Arun Raghavan <arun@asymptotic.io>
+Date: Fri, 11 Dec 2020 08:13:49 -0500
+Subject: [PATCH] build: Fix ARM ISA detection
+
+armv7 isn't a real cpu_family in meson, so drop that. The detection for
+__ARM_ARCH_ISA_ARM was also inverted.
+
+Fixes: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/6
+---
+ meson.build | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 96d84d7..606d40b 100644
+--- a/meson.build
++++ b/meson.build
+@@ -83,8 +83,8 @@ have_mips = false
+ have_mips64 = false
+ have_x86 = false
+ have_avx2 = false
+-if ['arm', 'armv7'].contains(host_machine.cpu_family())
+-  if cc.compiles('''#ifdef __ARM_ARCH_ISA_ARM
++if host_machine.cpu_family() == 'arm'
++  if cc.compiles('''#ifndef __ARM_ARCH_ISA_ARM
+ #error no arm arch
+ #endif''')
+     have_arm = true
+-- 
+GitLab
+
diff --git a/srcpkgs/webrtc-audio-processing/patches/mips.patch b/srcpkgs/webrtc-audio-processing/patches/mips.patch
deleted file mode 100644
index c99aaf392208..000000000000
--- a/srcpkgs/webrtc-audio-processing/patches/mips.patch
+++ /dev/null
@@ -1,113 +0,0 @@
---- webrtc-audio-processing-0.3_3/configure.ac	2017-11-22 20:26:54.207009881 +0100
-+++ webrtc-audio-processing-0.3_3/configure.ac	2017-11-22 20:37:57.472996521 +0100
-@@ -90,10 +90,14 @@
- 	[HAVE_NEON=1; ARCH_CFLAGS="${ARCH_CFLAGS} -DWEBRTC_HAS_NEON -DWEBRTC_ARCH_ARM64"])
- AC_CHECK_DECLS([__i386__], [HAVE_X86=1])
- AC_CHECK_DECLS([__x86_64__], [HAVE_X86=1])
-+AC_CHECK_DECLS([__MIPSEB__], [HAVE_MIPSEB=1])
-+AC_CHECK_DECLS([__MIPSEL__], [HAVE_MIPSEL=1])
- 
- AM_CONDITIONAL(HAVE_X86, [test "x${HAVE_X86}" = "x1"])
- AM_CONDITIONAL(HAVE_ARM, [test "x${HAVE_ARM}" = "x1"])
- AM_CONDITIONAL(HAVE_ARMV7, [test "x${HAVE_ARMV7}" = "x1"])
-+AM_CONDITIONAL(HAVE_MIPSEB, [test "x${HAVE_MIPSEB}" = "x1"])
-+AM_CONDITIONAL(HAVE_MIPSEL, [test "x${HAVE_MIPSEL}" = "x1"])
- 
- # Borrowed from pulseaudio's configure.ac
- AC_ARG_ENABLE([neon],
---- webrtc-audio-processing-0.3_3/webrtc/typedefs.h	2015-10-15 12:48:25.000000000 +0200
-+++ webrtc-audio-processing-0.3_3/webrtc/typedefs.h	2017-11-22 20:39:20.800994843 +0100
-@@ -47,6 +47,10 @@
- #elif defined(__pnacl__)
- #define WEBRTC_ARCH_32_BITS
- #define WEBRTC_ARCH_LITTLE_ENDIAN
-+#elif defined(__MIPSEL__)
-+#define WEBRTC_ARCH_LITTLE_ENDIAN
-+#elif defined(__MIPSEB__)
-+#define WEBRTC_ARCH_BIG_ENDIAN
- #else
- #error Please add support for your architecture in typedefs.h
- #endif
---- webrtc-audio-processing-0.3/webrtc/common_audio/wav_file.cc	2015-11-19 13:41:44.000000000 +0100
-+++ webrtc-audio-processing-0.3/webrtc/common_audio/wav_file.cc	2017-11-22 21:01:46.554967737 +0100
-@@ -64,9 +64,6 @@
- }
- 
- size_t WavReader::ReadSamples(size_t num_samples, int16_t* samples) {
--#ifndef WEBRTC_ARCH_LITTLE_ENDIAN
--#error "Need to convert samples to big-endian when reading from WAV file"
--#endif
-   // There could be metadata after the audio; ensure we don't read it.
-   num_samples = std::min(rtc::checked_cast<uint32_t>(num_samples),
-                          num_samples_remaining_);
-@@ -76,6 +73,12 @@
-   RTC_CHECK(read == num_samples || feof(file_handle_));
-   RTC_CHECK_LE(read, num_samples_remaining_);
-   num_samples_remaining_ -= rtc::checked_cast<uint32_t>(read);
-+#ifdef WEBRTC_ARCH_BIG_ENDIAN
-+  for (size_t i = 0; i < read; i++) {
-+    uint16_t s = static_cast<uint16_t>(samples[i]);
-+    samples[i] = static_cast<int16_t>((s >> 8) | (s << 8));
-+  }
-+#endif
-   return read;
- }
- 
-@@ -119,11 +122,20 @@
- }
- 
- void WavWriter::WriteSamples(const int16_t* samples, size_t num_samples) {
--#ifndef WEBRTC_ARCH_LITTLE_ENDIAN
--#error "Need to convert samples to little-endian when writing to WAV file"
--#endif
-+#ifdef WEBRTC_ARCH_LITTLE_ENDIAN
-   const size_t written =
-       fwrite(samples, sizeof(*samples), num_samples, file_handle_);
-+#else
-+  size_t written = 0;
-+  for (size_t i = 0; i < num_samples; i++) {
-+    uint16_t s = static_cast<uint16_t>(samples[i]);
-+    s = static_cast<int16_t>((s<<8) | (s>>8));
-+    size_t size = fwrite(&s, sizeof(s), 1, file_handle_);
-+    if (size < 1)
-+      break;
-+    written += size;
-+  }
-+#endif
-   RTC_CHECK_EQ(num_samples, written);
-   num_samples_ += static_cast<uint32_t>(written);
-   RTC_CHECK(written <= std::numeric_limits<uint32_t>::max() ||
---- webrtc-audio-processing-0.3/webrtc/common_audio/wav_header.cc	2015-10-15 12:48:44.000000000 +0200
-+++ webrtc-audio-processing-0.3/webrtc/common_audio/wav_header.cc	2017-11-22 21:11:36.291955859 +0100
-@@ -129,7 +129,30 @@
-   return std::string(reinterpret_cast<char*>(&x), 4);
- }
- #else
--#error "Write be-to-le conversion functions"
-+static inline void WriteLE16(uint16_t* f, uint16_t x) { *f = (x >> 8) | (x << 8); }
-+static inline void WriteLE32(uint32_t* f, uint32_t x) {
-+  *f = ((x & 0xff000000) >> 24) |
-+       ((x & 0x00ff0000) >>  8) |
-+       ((x & 0x0000ff00) <<  8) |
-+       ((x & 0x000000ff) << 24);
-+}
-+static inline void WriteFourCC(uint32_t* f, char a, char b, char c, char d) {
-+  *f = (static_cast<uint32_t>(a) << 24)
-+      | (static_cast<uint32_t>(b) << 16)
-+      | (static_cast<uint32_t>(c) << 8)
-+      | static_cast<uint32_t>(d);
-+}
-+static inline uint16_t ReadLE16(uint16_t x) { return (x >> 8) | (x << 8); }
-+static inline uint32_t ReadLE32(uint32_t x) {
-+  return ((x << 24) & 0xff000000) |
-+         ((x <<  8) & 0x00ff0000) |
-+         ((x >>  8) & 0x0000ff00) |
-+         ((x >> 24) & 0x000000ff);
-+}
-+static inline std::string ReadFourCC(uint32_t x) {
-+  uint32_t s = ReadLE32(x);
-+  return std::string(reinterpret_cast<char*>(&s), 4);
-+}
- #endif
- 
- static inline uint32_t RiffChunkSize(uint32_t bytes_in_payload) {
diff --git a/srcpkgs/webrtc-audio-processing/patches/musl.patch b/srcpkgs/webrtc-audio-processing/patches/musl.patch
deleted file mode 100644
index adca79b6b748..000000000000
--- a/srcpkgs/webrtc-audio-processing/patches/musl.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/webrtc/base/checks.cc.orig	2016-06-25 07:47:34.099515548 +0200
-+++ b/webrtc/base/checks.cc	2016-06-25 07:48:28.554122463 +0200
-@@ -16,7 +16,7 @@
- #include <cstdio>
- #include <cstdlib>
- 
--#if defined(__GLIBCXX__) && !defined(__UCLIBC__)
-+#if defined(__GLIBC__) && defined(__GLIBCXX__)
- #include <cxxabi.h>
- #include <execinfo.h>
- #endif
-@@ -55,7 +55,7 @@ void PrintError(const char* format, ...)
- // to get usable symbols on Linux. This is copied from V8. Chromium has a more
- // advanced stace trace system; also more difficult to copy.
- void DumpBacktrace() {
--#if defined(__GLIBCXX__) && !defined(__UCLIBC__)
-+#if defined(__GLIBC__) && defined(__GLIBCXX__)
-   void* trace[100];
-   int size = backtrace(trace, sizeof(trace) / sizeof(*trace));
-   char** symbols = backtrace_symbols(trace, size);
diff --git a/srcpkgs/webrtc-audio-processing/template b/srcpkgs/webrtc-audio-processing/template
index 30a420b28f57..c293adc2a44c 100644
--- a/srcpkgs/webrtc-audio-processing/template
+++ b/srcpkgs/webrtc-audio-processing/template
@@ -1,25 +1,21 @@
 # Template file for 'webrtc-audio-processing'
 pkgname=webrtc-audio-processing
-version=0.3.1
+version=1.0
 revision=1
-build_style=gnu-configure
-hostmakedepends="automake libtool"
+build_style=meson
+configure_args="-Dc_std=c17 -Dcpp_std=c++17"
+hostmakedepends="cmake"
+makedepends="abseil-cpp-devel"
 short_desc="AudioProcessing library based on Google's implementation of WebRTC"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
-homepage="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing"
-distfiles="${homepage}/${pkgname}-${version}.tar.xz"
-checksum=a0fdd938fd85272d67e81572c5a4d9e200a0c104753cb3c209ded175ce3c5dbf
+homepage="https://freedesktop.org/software/pulseaudio/webrtc-audio-processing"
+distfiles="${FREEDESKTOP_SITE}/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-${version}.tar.gz"
+checksum=441a30d2717b2eb4145c6eb96c2d5a270fe0b4bc71aebf76716750c47be1936f
 
-case "$XBPS_TARGET_MACHINE" in
-	# Disable neon for the arm* architectures
-	arm*) configure_args+=" --enable-neon=no" ;;
-esac
-
-pre_configure() {
-	# Remove failing statement PKG_CHECK_MODULE(GNUSTL, gnustl)
-	sed -i configure.ac -e'/if test "x$with_gnustl" != "xno"; then/,+2d'
-	autoreconf -fi
+post_patch() {
+	# https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/9#note_812708
+	vsed -e '/vector/a #include <memory>' -i webrtc/modules/audio_processing/aec3/reverb_model_estimator.h
 }
 
 post_install() {
@@ -32,7 +28,6 @@ webrtc-audio-processing-devel_package() {
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
-		vmove "usr/lib/*.a"
 		vmove "usr/lib/*.so"
 	}
 }

From 9a488760f7bca7bbab6337d77270e21d815e3714 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Wed, 24 May 2023 22:04:57 +0100
Subject: [PATCH 4/7] baresip: revbump for webrtc-audio-processing-1.0.

---
 srcpkgs/baresip/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/baresip/template b/srcpkgs/baresip/template
index f1bd1817048b..b21e22334316 100644
--- a/srcpkgs/baresip/template
+++ b/srcpkgs/baresip/template
@@ -1,7 +1,7 @@
 # Template file for 'baresip'
 pkgname=baresip
 version=2.10.0
-revision=1
+revision=2
 build_style=cmake
 hostmakedepends="pkg-config glib-devel"
 makedepends="libgsm-devel libpng-devel openssl-devel libsndfile-devel

From 0d809d537caf357020f191b520e7d6819f96b928 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Wed, 24 May 2023 22:04:57 +0100
Subject: [PATCH 5/7] gst-plugins-bad1: revbump for
 webrtc-audio-processing-1.0.

---
 srcpkgs/gst-plugins-bad1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template
index f55f82fd4c77..b846e708a9f3 100644
--- a/srcpkgs/gst-plugins-bad1/template
+++ b/srcpkgs/gst-plugins-bad1/template
@@ -1,7 +1,7 @@
 # Template file for 'gst-plugins-bad1'
 pkgname=gst-plugins-bad1
 version=1.20.3
-revision=3
+revision=4
 build_helper="gir"
 build_style=meson
 configure_args="-Dpackage-origin=https://voidlinux.org -Ddoc=disabled

From 94ebb3776a72ef12cb4c79a98569ddf9340dee2c Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Wed, 24 May 2023 22:04:57 +0100
Subject: [PATCH 6/7] pipewire: revbump for webrtc-audio-processing-1.0.

---
 srcpkgs/pipewire/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index 92feaab2a6d7..7f904197bf9b 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -1,7 +1,7 @@
 # Template file for 'pipewire'
 pkgname=pipewire
 version=0.3.71
-revision=1
+revision=2
 build_style=meson
 configure_args="
  --auto-features=enabled

From 5fc8f5c2d379ae42968990f1e2ce23007a6a4d1a Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Wed, 24 May 2023 22:04:58 +0100
Subject: [PATCH 7/7] pulseaudio: revbump for webrtc-audio-processing-1.0.

---
 srcpkgs/pulseaudio/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/pulseaudio/template b/srcpkgs/pulseaudio/template
index 685154e8c0e1..e2e940bae453 100644
--- a/srcpkgs/pulseaudio/template
+++ b/srcpkgs/pulseaudio/template
@@ -1,7 +1,7 @@
 # Template file for 'pulseaudio'
 pkgname=pulseaudio
 version=15.0
-revision=3
+revision=4
 build_style=meson
 configure_args="-Djack=enabled -Dlirc=disabled -Dhal-compat=false -Dorc=enabled
  -Dgtk=disabled -Dsystemd=disabled -Dwebrtc-aec=enabled

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-02-14 11:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24 21:20 [PR PATCH] webrtc-audio-processing: update to 1.0 mhmdanas
2023-08-23  1:44 ` github-actions
2023-08-23 21:25 ` mhmdanas
2023-11-13 14:45 ` [PR PATCH] [Updated] " mhmdanas
2023-11-13 14:51 ` webrtc-audio-processing: update to 1.3 mhmdanas
2023-11-16 22:08 ` mhmdanas
2024-02-14 11:01 ` [PR PATCH] [Closed]: " mhmdanas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).