1cairo_dep = dependency('cairo-gobject', version : '>=1.10.0', required : get_option('cairo'), 2 default_options: ['glib=enabled']) 3 4if cairo_dep.found() 5 gstcairo = library('gstcairo', 6 'gstcairo.c', 'gstcairooverlay.c', 7 c_args : gst_plugins_good_args, 8 link_args : noseh_link_args, 9 include_directories : [configinc], 10 dependencies : [gstbase_dep, gstvideo_dep, cairo_dep], 11 install : true, 12 install_dir : plugins_install_dir, 13 ) 14 pkgconfig.generate(gstcairo, install_dir : plugins_pkgconfig_install_dir) 15 plugins += [gstcairo] 16endif 17