[pulseaudio-commits] [Git][pulseaudio/webrtc-audio-processing][master] 2 commits: build: Expose absl as a dependency of webrtc-audio-processing
Arun Raghavan (@arun)
gitlab at gitlab.freedesktop.org
Mon Aug 14 01:20:46 UTC 2023
Arun Raghavan pushed to branch master at PulseAudio / webrtc-audio-processing
Commits:
bc401b3c by Arun Raghavan at 2023-08-13T17:42:29-04:00
build: Expose absl as a dependency of webrtc-audio-processing
This is needed because the audio processing header references
abseil's optional.h. Clean up the declared dependencies while we're at
it.
Fixes: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/34
- - - - -
315b2222 by Arun Raghavan at 2023-08-13T17:42:29-04:00
meson: Update minimum version based on what abseil wrap needs
- - - - -
3 changed files:
- meson.build
- webrtc/modules/audio_coding/meson.build
- webrtc/modules/audio_processing/meson.build
Changes:
=====================================
meson.build
=====================================
@@ -1,6 +1,6 @@
project('webrtc-audio-processing', 'c', 'cpp',
version : '1.1',
- meson_version : '>= 0.55',
+ meson_version : '>= 0.63',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized',
'c_std=c11',
@@ -184,11 +184,20 @@ pkgconfig.generate(
extra_cflags: [
'-DWEBRTC_LIBRARY_IMPL',
] + platform_cflags,
- libraries: libwebrtc_audio_processing,
+ libraries: [
+ libwebrtc_audio_processing,
+ ],
+ requires: [
+ # the audio processing header references absl's optional.h
+ 'absl_base',
+ ]
)
-audio_processing_dep = declare_dependency(link_with : libwebrtc_audio_processing,
- include_directories : [webrtc_inc])
+audio_processing_dep = declare_dependency(
+ link_with: libwebrtc_audio_processing,
+ dependencies: [absl_dep],
+ include_directories: [webrtc_inc]
+)
meson.override_dependency(apm_project_name, audio_processing_dep)
@@ -204,7 +213,9 @@ pkgconfig.generate(
libraries: libwebrtc_audio_coding,
)
-audio_coding_dep = declare_dependency(link_with : libwebrtc_audio_coding,
- include_directories : [webrtc_inc])
+audio_coding_dep = declare_dependency(
+ link_with: libwebrtc_audio_coding,
+ include_directories: [webrtc_inc]
+)
meson.override_dependency(ac_project_name, audio_coding_dep)
=====================================
webrtc/modules/audio_coding/meson.build
=====================================
@@ -45,12 +45,6 @@ libwebrtc_audio_coding = library(ac_project_name,
install: true
)
-webrtc_audio_coding_dep = declare_dependency(
- link_with: libwebrtc_audio_coding,
- include_directories: webrtc_inc,
- version: ac_version
-)
-
install_headers(['codecs/isac/bandwidth_info.h'],
subdir: join_paths(include_subdir, 'modules', 'audio_coding', 'codecs', 'isac')
)
=====================================
webrtc/modules/audio_processing/meson.build
=====================================
@@ -211,9 +211,3 @@ libwebrtc_audio_processing = library(apm_project_name,
soversion: apm_minor_version,
install: true
)
-
-webrtc_audio_processing_dep = declare_dependency(
- link_with: libwebrtc_audio_processing,
- include_directories: webrtc_inc,
- version: apm_version
-)
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/compare/92a4765a7e02d9281328f6d0ec9334891962c230...315b2222a858f3dd9edd2ca04c531ca66ef9b713
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/compare/92a4765a7e02d9281328f6d0ec9334891962c230...315b2222a858f3dd9edd2ca04c531ca66ef9b713
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20230814/408a5a2b/attachment-0001.htm>
More information about the pulseaudio-commits
mailing list