代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/webrtc-audio-processing 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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
Reference:
https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/3f9907f93d3983033e176e95f5134a57900a7f6e
https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/ce1a78887a1a0dfed3ebdb4de964d7afefebe896
https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/8ce8bebb7d852491326af1075ead74e757ae4611
---
meson.build | 27 +++++++++++----------------
1 file changed, 11 insertions(+), 16 deletions(-)
diff --git a/meson.build b/meson.build
index de8cd75..96d84d7 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
-project('webrtc-audio-processing-1', 'c', 'cpp',
- version : '1.0',
+project('webrtc-audio-processing', 'c', 'cpp',
+ version : '1.1',
meson_version : '>= 0.54',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized',
@@ -27,7 +27,7 @@ ac_minor_version = minor_version
ac_version = ac_major_version + '.' + ac_minor_version
ac_project_name = 'webrtc-audio-coding-' + ac_major_version
-include_subdir = meson.project_name()
+include_subdir = apm_project_name
cc = meson.get_compiler('c')
cpp = meson.get_compiler('cpp')
@@ -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']
--
2.27.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。