diff --git a/validate/docs/validate/meson.build b/validate/docs/validate/meson.build index fec31c67b1..7314acce7c 100644 --- a/validate/docs/validate/meson.build +++ b/validate/docs/validate/meson.build @@ -1,4 +1,4 @@ -configure_file(input : 'gst-validate.types', +types = configure_file(input : 'gst-validate.types', output : 'gst-validate.types', configuration : configuration_data()) @@ -17,13 +17,17 @@ foreach doc_dep : doc_deps_names endforeach if gtkdoc.found() - gnome.gtkdoc('gst-validate-@0@'.format(apiversion), + gnome.gtkdoc('gst-validate', main_sgml : 'gst-validate-docs.sgml', src_dir : '@0@/../../gst/validate'.format(meson.current_source_dir()), scan_args : ['--deprecated-guards=GST_DISABLE_DEPRECATED', '--ignore-decorators=GST_EXPORT', - '--ignore-headers= gettext.h gst-validate-internal.h gst-validate-monitor.h gst-validate-bin-monitor.h gst-validate-element-monitor.h gst-validate-pad-monitor.h gst-validate-override.h gst-validate-override-registry.h gst-validate-utils.h gst-validate-media-info.h gst-validate-report.h media-descriptor.h media-descriptor-parser.h media-descriptor-writer.h gst-validate-i18n-lib.h' + '--ignore-headers=gettext.h gst-validate-internal.h gst-validate-monitor.h gst-validate-bin-monitor.h gst-validate-element-monitor.h gst-validate-pad-monitor.h gst-validate-override.h gst-validate-override-registry.h gst-validate-utils.h gst-validate-media-info.h gst-validate-report.h media-descriptor.h media-descriptor-parser.h media-descriptor-writer.h gst-validate-i18n-lib.h' ], + scanobj_args : ['--type-init-func="gst_init(NULL,NULL)'], + gobject_typesfile : types, + dependencies : [validate_dep], + content_files : ['gst-validate.xml', 'gst-validate-transcoding.xml', 'gst-validate-media-check.xml', 'gst-validate-launcher.xml', 'envvariables.xml', 'scenarios.xml'], fixxref_args: doc_deps + ['--html-dir=' + get_option('prefix') + '/share/gtk-doc/html/'], install : true) endif