From: Tim-Philipp Müller Date: Wed, 20 Dec 2017 23:47:33 +0000 (+0000) Subject: meson: docs: link gtk-doc scanner with gstgl X-Git-Tag: 1.19.3~511^2~1971 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5037aee2a674a7f7722c92757f3412189406413;p=platform%2Fupstream%2Fgstreamer.git meson: docs: link gtk-doc scanner with gstgl --- diff --git a/docs/libs/meson.build b/docs/libs/meson.build index 94638e6518..fcfe81be43 100644 --- a/docs/libs/meson.build +++ b/docs/libs/meson.build @@ -1,3 +1,5 @@ +# FIXME: .types file shouldn't have gl types in it if we don't build gstgl, +# but then what about the other files (sections, sgml) types = configure_file(input : 'gst-plugins-base-libs.types', output : 'gst-plugins-base-libs.types', configuration : configuration_data()) @@ -9,6 +11,12 @@ ignored_headers = ['pbutils-private.h', 'gsttageditingprivate.h', 'id3v2.h', '_kiss_fft_guts_s16.h', '_kiss_fft_guts_s32.h', '_kiss_fft_guts_s32.h', 'pbutils-marshal.h'] +if build_gstgl + doc_extra_deps = [gstgl_dep] +else + doc_extra_deps = [] +endif + gnome.gtkdoc('gst-plugins-base-libs', main_sgml : 'gst-plugins-base-libs-docs.sgml', src_dir : '@0@/../../gst-libs/gst'.format(meson.current_source_dir()), @@ -20,5 +28,5 @@ gnome.gtkdoc('gst-plugins-base-libs', content_files : [version_entities], dependencies : [gst_base_dep, app_dep, allocators_dep, audio_dep, fft_dep, pbutils_dep, riff_dep, rtp_dep, rtsp_dep, sdp_dep, - tag_dep, video_dep], + tag_dep, video_dep] + doc_extra_deps, install : true)