gplugin/gplugin

Make GPluginGtkPluginInfo display plugin dependencies.
develop
2020-07-05, Alejandro GarcĂ­a <>
6bc46e33a0b2
Make GPluginGtkPluginInfo display plugin dependencies.

Fixes [GPLUGIN-124 GPluginGtkPluginInfo doesn't show dependencies](https://issues.imfreedom.org/issue/GPLUGIN-124).

Reviewed at https://reviews.imfreedom.org/r/22/
if get_option('vapi')
if not get_option('gobject-introspection')
error('Vala generation requires GObject Introspection.')
endif
add_languages('vala')
gplugin_vapi = gnome.generate_vapi('gplugin',
sources : gplugin_gir[0],
install : true,
gir_dirs : meson.current_build_dir() / '..' / 'gplugin',
)
if get_option('gtk3')
gplugin_gtk_vapi = gnome.generate_vapi('gplugin-gtk',
sources : gplugin_gtk_gir[0],
packages : [ 'gtk+-3.0' ],
install : true,
gir_dirs : meson.current_build_dir() / '..' / 'gplugin',
)
endif
subdir('tests')
endif # vala