1sbc_sources = [
2  'sbc-plugin.c',
3  'gstsbcdec.c',
4  'gstsbcenc.c',
5]
6
7sbc_dep = dependency('sbc', version : '>= 1.0', required : get_option('sbc'))
8
9if sbc_dep.found()
10  gstsbc = library('gstsbc',
11    sbc_sources,
12    c_args : gst_plugins_bad_args,
13    include_directories : [configinc],
14    dependencies : [gstaudio_dep, sbc_dep],
15    install : true,
16    install_dir : plugins_install_dir,
17  )
18  pkgconfig.generate(gstsbc, install_dir : plugins_pkgconfig_install_dir)
19endif
20