1 # Very much not going to implement all kinds of logic around aalib-config
5 # TODO: https://github.com/mesonbuild/meson/issues/3940
6 aalib_option = get_option('aalib')
7 if not aalib_option.disabled()
8 have_aalib = cc.has_header('aalib.h')
9 if not have_aalib and aalib_option.enabled()
10 error('aalib plugin enabled, but aalib.h not found')
15 libaa_dep = cc.find_library('aa', required : aalib_option)
17 library('gstaasink', 'gstaasink.c',
18 c_args : gst_plugins_good_args,
19 link_args : noseh_link_args,
20 include_directories : [configinc],
21 dependencies : [gstvideo_dep, gstbase_dep, libaa_dep],
23 install_dir : plugins_install_dir)