2016-08-12 15:51:45 +00:00
|
|
|
sbc_sources = [
|
|
|
|
'sbc-plugin.c',
|
|
|
|
'gstsbcdec.c',
|
|
|
|
'gstsbcenc.c',
|
|
|
|
]
|
|
|
|
|
2018-07-27 13:29:23 +00:00
|
|
|
sbc_dep = dependency('sbc', version : '>= 1.0', required : get_option('sbc'))
|
2016-08-12 15:51:45 +00:00
|
|
|
|
|
|
|
if sbc_dep.found()
|
|
|
|
gstsbc = library('gstsbc',
|
|
|
|
sbc_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstaudio_dep, sbc_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstsbc, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gstsbc]
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|