types = configure_file(input : 'gstreamer-libs.types',
  output : 'gstreamer-libs.types',
  copy: true)

gnome.gtkdoc('gstreamer-libs',
  main_sgml : 'gstreamer-libs-docs.sgml',
  src_dir : '@0@/../../libs/gst'.format(meson.current_source_dir()),
  scan_args : ['--deprecated-guards=GST_DISABLE_DEPRECATED',
            '--ignore-decorators=GST_API|GST_BASE_API|GST_CHECK_API|GST_CONTROLLER_API|GST_NET_API',
            '--ignore-headers=gettext.h glib-compat-private.h glib-compat.h gst-i18n-app.h gst-i18n-lib.h gst_private.h gstelementdetails.h gstmacros.h grammar.tab.h grammar.tab.pre.h math-compat.h types.h'
            ],
  scanobjs_args : ['--type-init-func="gst_init(NULL,NULL)"'],
  gobject_typesfile : types,
  content_files : [version_entities],
  dependencies : [gst_base_dep, gst_check_dep,  gst_controller_dep, gst_net_dep],
  install : true)
