1spandsp_sources = [ 2 'gstdtmfdetect.c', 3 'gstdtmfdetect.h', 4 'gstspandsp.c', 5 'gstspanplc.c', 6 'gstspanplc.h', 7 'gsttonegeneratesrc.c', 8 'gsttonegeneratesrc.h', 9] 10 11spandsp_dep = dependency('spandsp', version : '>= 0.0.6', required : get_option('spandsp')) 12 13if spandsp_dep.found() 14 gstspandsp = library('gstspandsp', 15 spandsp_sources, 16 c_args : gst_plugins_bad_args, 17 include_directories : [configinc], 18 dependencies : [gstvideo_dep, spandsp_dep], 19 install : true, 20 install_dir : plugins_install_dir, 21 ) 22 pkgconfig.generate(gstspandsp, install_dir : plugins_pkgconfig_install_dir) 23endif 24