gstreamer/ext/sbc/meson.build
2019-05-13 17:00:00 -04:00

20 lines
498 B
Meson

sbc_sources = [
'sbc-plugin.c',
'gstsbcdec.c',
'gstsbcenc.c',
]
sbc_dep = dependency('sbc', version : '>= 1.0', required : get_option('sbc'))
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,
)
pkgconfig.generate(gstsbc, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstsbc]
endif