gplugin/gplugin

Some tweak to fix the build on openbsd

2020-12-29, Gary Kramlich
d54f5079d963
Some tweak to fix the build on openbsd

Testing Done:
Ran the build on a OpenBSD 32bit machine with default options.

Reviewed at https://reviews.imfreedom.org/r/311/
if get_option('vapi')
if not get_option('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