mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
webrtcdsp: Add support to build with meson
This commit is contained in:
parent
fc261bc38a
commit
41464c6133
2 changed files with 24 additions and 1 deletions
|
@ -62,7 +62,7 @@ subdir('voaacenc')
|
|||
#subdir('voamrwbenc')
|
||||
subdir('vulkan')
|
||||
subdir('wayland')
|
||||
#subdir('webrtcdsp')
|
||||
subdir('webrtcdsp')
|
||||
subdir('webp')
|
||||
subdir('x265')
|
||||
subdir('zbar')
|
||||
|
|
23
ext/webrtcdsp/meson.build
Normal file
23
ext/webrtcdsp/meson.build
Normal file
|
@ -0,0 +1,23 @@
|
|||
webrtc_sources = [
|
||||
'gstwebrtcdsp.cpp',
|
||||
'gstwebrtcechoprobe.cpp'
|
||||
]
|
||||
|
||||
webrtc_dep = dependency('webrtc-audio-processing', version : '>= 0.2', required : false)
|
||||
webrtc_max_dep = dependency('webrtc-audio-processing', version : '>= 0.4', required : false)
|
||||
|
||||
if (webrtc_max_dep.found())
|
||||
message('WebRTC Audio Processing library is not API stable,'
|
||||
+ ' we cannot support newer version ' + webrtc_max_dep.version()
|
||||
+ ' (we only support 0.2 and 0.3)')
|
||||
elif (webrtc_dep.found())
|
||||
gstwebrtcdsp = library('gstwebrtcdsp',
|
||||
webrtc_sources,
|
||||
cpp_args : gst_plugins_bad_args,
|
||||
link_args : noseh_link_args,
|
||||
include_directories : [configinc],
|
||||
dependencies : [gstbase_dep, gstaudio_dep, webrtc_dep],
|
||||
install : true,
|
||||
install_dir : plugins_install_dir,
|
||||
)
|
||||
endif
|
Loading…
Reference in a new issue