2018-12-16 20:27:56 +00:00
|
|
|
sndfile_dep = dependency('sndfile', version: '>= 1.0.16', required: get_option('sndfile'))
|
|
|
|
|
|
|
|
if sndfile_dep.found()
|
|
|
|
gstsndfile = library('gstsndfile',
|
2021-02-19 11:30:50 +00:00
|
|
|
'gstsf.c', 'gstsfelement.c', 'gstsfdec.c', # 'gstsfsink.c', 'gstsfsrc.c',
|
2018-12-16 20:27:56 +00:00
|
|
|
c_args: gst_plugins_bad_args,
|
2018-12-17 10:30:27 +00:00
|
|
|
include_directories: [configinc, libsinc],
|
2018-12-16 20:27:56 +00:00
|
|
|
dependencies: [gstaudio_dep, gst_dep, sndfile_dep],
|
|
|
|
install: true,
|
|
|
|
install_dir: plugins_install_dir,
|
|
|
|
)
|
|
|
|
pkgconfig.generate(gstsndfile, install_dir: plugins_pkgconfig_install_dir)
|
2019-05-29 10:28:00 +00:00
|
|
|
plugins += [gstsndfile]
|
2018-12-16 20:27:56 +00:00
|
|
|
endif
|