gplugin/gplugin

90d067db1688
Add option in meson to install helper application

Added two new options in meson that allow choosing whether the helper applications (gplugin-gtk-viewer and gplugin-query) are going to be installed or not

Testing Done:
Compiled a few times switching the two new options between true and false and verifying that the behavior was correct.

Bugs closed: GPLUGIN-129

Reviewed at https://reviews.imfreedom.org/r/159/
DOC_MODULE = 'gplugin'
# Header files or dirs to ignore when scanning. Use base file/dir names
ignore_hfiles = [
'dynamic-test.h',
'gplugin-enums.h',
'gplugin-loader-tests.h',
'gplugin-native-private.h',
'gplugin-native.h',
'gplugin-native-loader.h',
'gplugin-native-plugin.h',
'gplugin-private.h',
'gplugin.h',
]
ignore_hfiles += GPLUGIN_PRIVATE_HEADERS
# Extra options to supply to gtkdoc-scan.
scan_args = [
'--deprecated-guards=GPLUGIN_DISABLE_DEPRECATED',
'--rebuild-types',
'--rebuild-sections',
]
gplugin_version_xml = configure_file(
input : 'version.xml.in',
output : 'version.xml',
configuration : version_conf)
content_files = [
'embedding.xml',
'genie.xml',
'lua.xml',
'native-plugins.xml',
'perl5.xml',
'python3.xml',
'vala.xml',
]
gnome.gtkdoc(DOC_MODULE,
main_xml : DOC_MODULE + '-docs.xml',
namespace : 'gplugin',
src_dir : gplugin_inc,
dependencies : gplugin_dep,
ignore_headers : ignore_hfiles,
install : true,
scan_args : scan_args,
gobject_typesfile : DOC_MODULE + '.types',
content_files : content_files,
)