2016-09-23 23:41:04 +00:00
|
|
|
types = configure_file(input : 'ges.types',
|
2016-08-04 21:33:55 +00:00
|
|
|
output : 'ges.types',
|
2018-07-25 11:50:02 +00:00
|
|
|
copy: true)
|
2016-08-04 21:33:55 +00:00
|
|
|
|
|
|
|
doc_deps_names = ['glib-2.0',
|
|
|
|
'gstreamer-@0@'.format(apiversion),
|
|
|
|
'gstreamer-plugins-base-@0@'.format(apiversion)]
|
|
|
|
|
|
|
|
doc_deps = []
|
|
|
|
foreach doc_dep : doc_deps_names
|
2018-07-25 11:50:02 +00:00
|
|
|
# TODO: Use get_pkgconfig_variable()
|
2016-08-04 21:33:55 +00:00
|
|
|
runcmd = run_command('pkg-config', '--variable=prefix', doc_dep)
|
|
|
|
if runcmd.returncode() == 0
|
|
|
|
tmp = '--extra-dir=' + runcmd.stdout().strip() + '/share/gtk-doc/html/'
|
|
|
|
tmp.strip()
|
|
|
|
doc_deps = doc_deps + [tmp]
|
|
|
|
endif
|
|
|
|
endforeach
|
|
|
|
|
2016-09-23 23:41:04 +00:00
|
|
|
gnome.gtkdoc('ges',
|
2016-08-04 21:33:55 +00:00
|
|
|
main_sgml : 'ges-docs.sgml',
|
2016-08-25 18:04:54 +00:00
|
|
|
src_dir : '@0@/../../ges'.format(meson.current_source_dir()),
|
2016-08-04 21:33:55 +00:00
|
|
|
scan_args : ['--deprecated-guards=GST_DISABLE_DEPRECATED',
|
2018-03-13 13:45:24 +00:00
|
|
|
'--ignore-decorators=GES_API',
|
2016-08-04 21:33:55 +00:00
|
|
|
'--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'
|
|
|
|
],
|
2017-08-10 12:46:03 +00:00
|
|
|
scanobjs_args : ['--type-init-func="gst_init(NULL,NULL)"'],
|
2016-09-23 23:41:04 +00:00
|
|
|
gobject_typesfile : types,
|
|
|
|
dependencies : [ges_dep],
|
2016-08-04 21:33:55 +00:00
|
|
|
fixxref_args: doc_deps + ['--html-dir=' + get_option('prefix') + '/share/gtk-doc/html/'],
|
2016-09-23 23:41:04 +00:00
|
|
|
content_files : ['architecture.xml', 'ges-sections.txt', version_entities],
|
|
|
|
html_assets : 'layer_track_overview.png',
|
|
|
|
install : true,
|
|
|
|
install_dir : 'gstreamer-editing-services',
|
|
|
|
)
|