meson: Fix gtkdoc using new meson features

This commit is contained in:
Thibault Saunier 2016-09-23 20:41:04 -03:00
parent 08397318f6
commit b51fd6184a
3 changed files with 13 additions and 5 deletions

View file

@ -1,4 +1,4 @@
configure_file(input : 'ges.types',
types = configure_file(input : 'ges.types',
output : 'ges.types',
configuration : configuration_data())
@ -16,12 +16,19 @@ foreach doc_dep : doc_deps_names
endif
endforeach
gnome.gtkdoc('gst-editing-services-@0@'.format(apiversion),
gnome.gtkdoc('ges',
main_sgml : 'ges-docs.sgml',
src_dir : '@0@/../../ges'.format(meson.current_source_dir()),
scan_args : ['--deprecated-guards=GST_DISABLE_DEPRECATED',
'--ignore-decorators=GST_EXPORT',
'--ignore-headers=gesmarshal.h ges-internal.h ges-auto-transition.h ges-structured-interface.h ges-structure-parser.h ges-smart-video-mixer.h gstframepositioner.h'
],
scanobj_args : ['--type-init-func="gst_init(NULL,NULL)'],
gobject_typesfile : types,
dependencies : [ges_dep],
fixxref_args: doc_deps + ['--html-dir=' + get_option('prefix') + '/share/gtk-doc/html/'],
install : true)
content_files : ['architecture.xml', 'ges-sections.txt', version_entities],
html_assets : 'layer_track_overview.png',
install : true,
install_dir : 'gstreamer-editing-services',
)

View file

@ -4,7 +4,7 @@ docconf.set('GST_API_VERSION', apiversion)
docconf.set('PACKAGE_VERSION', gst_version)
docconf.set('PLUGINDIR', '@0@/lib/gstreamer-1.0'.format(get_option('prefix')))
configure_file(input : 'version.entities.in',
version_entities = configure_file(input : 'version.entities.in',
output : 'version.entities',
configuration : docconf)

View file

@ -190,5 +190,6 @@ endif
ges_dep = declare_dependency(link_with : libges,
include_directories : [configinc],
sources : ges_gen_sources
sources : ges_gen_sources,
dependencies : libges_deps,
)