From: Thibault Saunier Date: Wed, 8 Mar 2017 21:26:42 +0000 (-0300) Subject: Fhotdoc X-Git-Tag: 1.19.3~493^2~836 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=220618ecc7c061a2146e00e0063123b8dbaeb734;p=platform%2Fupstream%2Fgstreamer.git Fhotdoc --- diff --git a/docs/hotdoc/index.md b/docs/hotdoc/index.md index cbfb174..9464d2d 100644 --- a/docs/hotdoc/index.md +++ b/docs/hotdoc/index.md @@ -36,7 +36,7 @@ editing-related applications. ### Timeline and TimelinePipeline The most top-level object encapsulating every other object is the -#GESTimeline. It is the central object for any editing project. +[GESTimeline](GESTimeline). It is the central object for any editing project. The `GESTimeline` is a `GstElement`. It can therefore be used in any GStreamer pipeline like any other object. @@ -61,4 +61,4 @@ The GESTimeline can contain two types of objects (seen in In order to reduce even more the amount of GStreamer interaction the application developer has to deal with, a convenience GstPipeline has -been made available specifically for Timelines : #GESPipeline. +been made available specifically for Timelines : [GESPipeline](GESPipeline). diff --git a/docs/hotdoc/meson.build b/docs/hotdoc/meson.build index 2022769..e0a4403 100644 --- a/docs/hotdoc/meson.build +++ b/docs/hotdoc/meson.build @@ -1,13 +1,17 @@ ges_excludes = [] -foreach f: ['gesmarshal.h', 'ges-internal.h', 'ges-auto-transition.[ch]', - 'ges-structured-interface.[ch]', 'ges-structure-parser.[ch]', - 'ges-smart-video-mixer.[ch]', 'gstframepositioner.[ch]', - 'ges/lex.priv_ges_parse_yy.c'] +foreach f: ['gesmarshal.*', + 'ges-internal.*', + 'ges-auto-transition.*', + 'ges-structured-interface.*', + 'ges-structure-parser.*', + 'ges-smart-*.', + 'gstframepositioner.*', + 'lex.priv_ges_parse_yy.c'] ges_excludes += [join_paths(meson.current_source_dir(), '..', '..', 'ges', f)] endforeach hotdoc = import('hotdoc') -gst_editin_services_doc = hotdoc.generate_doc('gst-editing-services', +gst_editing_services_doc = hotdoc.generate_doc('gst-editing-services', project_version: apiversion, extra_assets: [join_paths(meson.current_source_dir(), 'images')], c_sources: ['../../ges/ges.h', '../../ges/*.[hc]'], diff --git a/ges/meson.build b/ges/meson.build index 37a19c5..a6971dd 100644 --- a/ges/meson.build +++ b/ges/meson.build @@ -175,7 +175,7 @@ if build_gir '-I' + meson.current_build_dir() + '/..', '--cflags-end'] endif - ges_gen_sources += [gnome.generate_gir(libges, + ges_gir = gnome.generate_gir(libges, sources : ges_sources + ges_headers, namespace : 'GES', nsversion : apiversion, @@ -186,7 +186,9 @@ if build_gir install : true, dependencies : libges_deps, extra_args : ges_gir_extra_args - )] + ) + + ges_gen_sources += [ges_gir] endif ges_dep = declare_dependency(link_with : libges, diff --git a/meson.build b/meson.build index 9e35fac..d80c693 100644 --- a/meson.build +++ b/meson.build @@ -138,15 +138,17 @@ subdir('pkgconfig') subdir('tests') subdir('examples') +build_hotdoc = false if build_machine.system() == 'windows' message('Disabling gtk-doc while building on Windows') elif get_option('disable_gtkdoc') message('gtk-doc is disabled via options') else - if find_program('gtkdoc-scan', required : false).found() + hotdoc_p = find_program('hotdoc', required : false) + if hotdoc_p.found() subdir('docs') else - message('Not building documentation as gtk-doc was not found') + message('Not building documentation as hotdoc was not found') endif endif