[pulseaudio-commits] [Git][pulseaudio/webrtc-audio-processing][master] meson: override dependency

Arun Raghavan gitlab at gitlab.freedesktop.org
Thu Oct 29 12:49:05 UTC 2020



Arun Raghavan pushed to branch master at PulseAudio / webrtc-audio-processing


Commits:
d938d2cf by Guillaume Desmottes at 2020-10-28T16:03:08+01:00
meson: override dependency

Will allow us to build the libs as part of gst-build as subprojects.

- - - - -


1 changed file:

- meson.build


Changes:

=====================================
meson.build
=====================================
@@ -1,6 +1,6 @@
 project('webrtc-audio-processing-1', 'c', 'cpp',
   version : '1.0',
-  meson_version : '>= 0.52',
+  meson_version : '>= 0.54',
   default_options : [ 'warning_level=1',
                       'buildtype=debugoptimized',
                       'c_std=c11',
@@ -161,6 +161,11 @@ pkgconfig.generate(
     libraries: libwebrtc_audio_processing,
 )
 
+audio_processing_dep = declare_dependency(link_with : libwebrtc_audio_processing,
+    include_directories : [webrtc_inc])
+
+meson.override_dependency(apm_project_name, audio_processing_dep)
+
 pkgconfig.generate(
     name: ac_project_name,
     description: 'WebRTC Audio Coding library',
@@ -172,3 +177,8 @@ pkgconfig.generate(
     ] + platform_cflags,
     libraries: libwebrtc_audio_coding,
 )
+
+audio_coding_dep = declare_dependency(link_with : libwebrtc_audio_coding,
+    include_directories : [webrtc_inc])
+
+meson.override_dependency(ac_project_name, audio_coding_dep)



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/d938d2cf521741f2bf87e97157f92a4de075dcff

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/d938d2cf521741f2bf87e97157f92a4de075dcff
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/20201029/c2b181ce/attachment.htm>


More information about the pulseaudio-commits mailing list