diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2018-12-16 20:27:56 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@coaxion.net> | 2018-12-17 09:12:53 +0000 |
commit | dd529d0f5dae2b82d1a043c39f020f766fe7b218 (patch) | |
tree | 429c26e86a0f4130eabce288ea31e50c793c7ef4 /ext/sndfile | |
parent | 9313470358bc7e322800a28e7eae45a17e770881 (diff) |
meson: build sndfile plugin
Diffstat (limited to 'ext/sndfile')
-rw-r--r-- | ext/sndfile/meson.build | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/sndfile/meson.build b/ext/sndfile/meson.build new file mode 100644 index 000000000..9748626a1 --- /dev/null +++ b/ext/sndfile/meson.build @@ -0,0 +1,13 @@ +sndfile_dep = dependency('sndfile', version: '>= 1.0.16', required: get_option('sndfile')) + +if sndfile_dep.found() + gstsndfile = library('gstsndfile', + 'gstsf.c', 'gstsfdec.c', # 'gstsfsink.c', 'gstsfsrc.c', + c_args: gst_plugins_bad_args, + include_directories: [configinc], + dependencies: [gstaudio_dep, gst_dep, sndfile_dep], + install: true, + install_dir: plugins_install_dir, + ) + pkgconfig.generate(gstsndfile, install_dir: plugins_pkgconfig_install_dir) +endif |