Add support for Meson as alternative/parallel build system
[platform/upstream/gstreamer.git] / ext / a52dec / meson.build
1 a52_dep = cc.find_library('a52', required : false)
2
3 if a52_dep.found() and cc.has_header_symbol('a52dec/a52.h', 'a52_init', prefix : '#include <stdint.h>')
4   a52dec = library('gsta52dec',
5     'gsta52dec.c',
6     c_args : ugly_args,
7     include_directories : [configinc],
8     dependencies : [gstaudio_dep, orc_dep, a52_dep],
9     install : true,
10     install_dir : plugins_install_dir,
11   )
12 endif