-configure_file(input : 'gstreamer.types.in',
+types = configure_file(input : 'gstreamer.types.in',
output : 'gstreamer.types',
- configuration : configuration_data())
+ copy: true)
gnome.gtkdoc('gstreamer',
main_sgml : 'gstreamer-docs.sgml',
- src_dir : '@0@/gst'.format(meson.source_root()),
+ src_dir : '@0@/../../gst'.format(meson.current_source_dir()),
scan_args : ['--deprecated-guards=GST_DISABLE_DEPRECATED',
- '--ignore-decorators=GST_EXPORT',
+ '--ignore-decorators=GST_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,
+ dependencies : [gst_dep],
+ content_files: ['building.xml', 'running.xml', version_entities],
install : true)