mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
63dc81d000
Split plugin into features including dynamic types which can be indiviually registered during a static build. More details here: https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2038>
27 lines
926 B
Meson
27 lines
926 B
Meson
webrtc_sources = [
|
|
'gstwebrtcdsp.cpp',
|
|
'gstwebrtcechoprobe.cpp',
|
|
'gstwebrtcdspplugin.cpp'
|
|
]
|
|
|
|
webrtc_dep = dependency('webrtc-audio-processing', version : ['>= 0.2', '< 0.4'],
|
|
required : get_option('webrtcdsp'))
|
|
|
|
if not gnustl_dep.found() and get_option('webrtcdsp').enabled()
|
|
error('webrtcdsp plugin enabled but could not find gnustl dep for Android c++ support')
|
|
endif
|
|
|
|
if webrtc_dep.found() and gnustl_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, gstbadaudio_dep, webrtc_dep, gnustl_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
override_options : ['cpp_std=c++11'],
|
|
)
|
|
pkgconfig.generate(gstwebrtcdsp, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstwebrtcdsp]
|
|
endif
|