2016-08-12 15:51:45 +00:00
|
|
|
spandsp_sources = [
|
|
|
|
'gstdtmfdetect.c',
|
|
|
|
'gstdtmfdetect.h',
|
|
|
|
'gstspandsp.c',
|
|
|
|
'gstspanplc.c',
|
|
|
|
'gstspanplc.h',
|
|
|
|
'gsttonegeneratesrc.c',
|
|
|
|
'gsttonegeneratesrc.h',
|
|
|
|
]
|
|
|
|
|
2025-01-13 17:10:31 +00:00
|
|
|
spandsp_headers = [
|
|
|
|
'gstspanplc.h',
|
|
|
|
'gstdtmfdetect.h',
|
|
|
|
'gsttonegeneratesrc.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
doc_sources = []
|
|
|
|
foreach s: spandsp_sources + spandsp_headers
|
|
|
|
doc_sources += meson.current_source_dir() / s
|
|
|
|
endforeach
|
|
|
|
|
|
|
|
plugin_sources += {
|
|
|
|
'spandsp': pathsep.join(doc_sources)
|
|
|
|
}
|
|
|
|
|
2018-07-27 13:29:23 +00:00
|
|
|
spandsp_dep = dependency('spandsp', version : '>= 0.0.6', required : get_option('spandsp'))
|
2016-08-12 15:51:45 +00:00
|
|
|
|
|
|
|
if spandsp_dep.found()
|
|
|
|
gstspandsp = library('gstspandsp',
|
|
|
|
spandsp_sources,
|
2025-01-10 15:30:25 +00:00
|
|
|
c_args : gst_plugins_bad_args + cc.get_supported_arguments(['-Wno-undef']),
|
2016-08-12 15:51:45 +00:00
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstvideo_dep, spandsp_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gstspandsp]
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|