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-gtk'
# Header files or dirs to ignore when scanning. Use base file/dir names
ignore_hfiles = [
'gplugin-gtk.h',
'gplugin-gtk-resources.h',
]
ignore_hfiles += GPLUGIN_GTK_PRIVATE_HEADERS
# Extra options to supply to gtkdoc-scan.
scan_args = [
'--deprecated-guards=GPLUGIN_GTK_DISABLE_DEPRECATED',
'--rebuild-types',
'--rebuild-sections',
]
fixxref_args = [
'--extra-dir=' + (meson.build_root() / 'gplugin/reference/html')
]
gplugin_gtk_version_xml = configure_file(
input : 'version.xml.in',
output : 'version.xml',
configuration : version_conf)
content_files = [
]
gnome.gtkdoc(DOC_MODULE,
main_xml : DOC_MODULE + '-docs.xml',
namespace : 'gplugin_gtk',
src_dir : gplugin_gtk_inc,
dependencies : gplugin_gtk_dep,
ignore_headers : ignore_hfiles,
install : true,
scan_args : scan_args,
gobject_typesfile : DOC_MODULE + '.types',
content_files : content_files,
fixxref_args : fixxref_args,
)