mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
meson: Fix gtkdoc using new meson features
This commit is contained in:
parent
9e4e2b5542
commit
394732e509
1 changed files with 7 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
configure_file(input : 'gst-validate.types',
|
types = configure_file(input : 'gst-validate.types',
|
||||||
output : 'gst-validate.types',
|
output : 'gst-validate.types',
|
||||||
configuration : configuration_data())
|
configuration : configuration_data())
|
||||||
|
|
||||||
|
@ -17,13 +17,17 @@ foreach doc_dep : doc_deps_names
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
if gtkdoc.found()
|
if gtkdoc.found()
|
||||||
gnome.gtkdoc('gst-validate-@0@'.format(apiversion),
|
gnome.gtkdoc('gst-validate',
|
||||||
main_sgml : 'gst-validate-docs.sgml',
|
main_sgml : 'gst-validate-docs.sgml',
|
||||||
src_dir : '@0@/../../gst/validate'.format(meson.current_source_dir()),
|
src_dir : '@0@/../../gst/validate'.format(meson.current_source_dir()),
|
||||||
scan_args : ['--deprecated-guards=GST_DISABLE_DEPRECATED',
|
scan_args : ['--deprecated-guards=GST_DISABLE_DEPRECATED',
|
||||||
'--ignore-decorators=GST_EXPORT',
|
'--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/'],
|
fixxref_args: doc_deps + ['--html-dir=' + get_option('prefix') + '/share/gtk-doc/html/'],
|
||||||
install : true)
|
install : true)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue