1sndfile_dep = dependency('sndfile', version: '>= 1.0.16', required: get_option('sndfile')) 2 3if sndfile_dep.found() 4 gstsndfile = library('gstsndfile', 5 'gstsf.c', 'gstsfdec.c', # 'gstsfsink.c', 'gstsfsrc.c', 6 c_args: gst_plugins_bad_args, 7 include_directories: [configinc, libsinc], 8 dependencies: [gstaudio_dep, gst_dep, sndfile_dep], 9 install: true, 10 install_dir: plugins_install_dir, 11 ) 12 pkgconfig.generate(gstsndfile, install_dir: plugins_pkgconfig_install_dir) 13endif 14