mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 15:08:48 +00:00
meson: Fix gtkdoc using new meson features
This commit is contained in:
parent
65ed511c5e
commit
618f925edc
3 changed files with 11 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
configure_file(input : 'gstreamer.types.in',
|
types = configure_file(input : 'gstreamer.types.in',
|
||||||
output : 'gstreamer.types',
|
output : 'gstreamer.types',
|
||||||
configuration : configuration_data())
|
configuration : configuration_data())
|
||||||
|
|
||||||
|
@ -9,4 +9,8 @@ gnome.gtkdoc('gstreamer',
|
||||||
'--ignore-decorators=GST_EXPORT',
|
'--ignore-decorators=GST_EXPORT',
|
||||||
'--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'
|
'--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'
|
||||||
],
|
],
|
||||||
|
scanobj_args : ['--type-init-func="gst_init(NULL,NULL)'],
|
||||||
|
gobject_typesfile : types,
|
||||||
|
dependencies : [gst_dep],
|
||||||
|
content_files: ['building.xml', 'running.xml', version_entities],
|
||||||
install : true)
|
install : true)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
configure_file(input : 'gstreamer-libs.types',
|
types = configure_file(input : 'gstreamer-libs.types',
|
||||||
output : 'gstreamer-libs.types',
|
output : 'gstreamer-libs.types',
|
||||||
configuration : configuration_data())
|
configuration : configuration_data())
|
||||||
|
|
||||||
|
@ -9,4 +9,8 @@ gnome.gtkdoc('gstreamer-libs',
|
||||||
'--ignore-decorators=GST_EXPORT',
|
'--ignore-decorators=GST_EXPORT',
|
||||||
'--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'
|
'--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'
|
||||||
],
|
],
|
||||||
|
scanobj_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)
|
install : true)
|
||||||
|
|
|
@ -4,7 +4,7 @@ docconf.set('GST_API_VERSION', apiversion)
|
||||||
docconf.set('PACKAGE_VERSION', gst_version)
|
docconf.set('PACKAGE_VERSION', gst_version)
|
||||||
docconf.set('PLUGINDIR', '@0@/lib/gstreamer-1.0'.format(get_option('prefix')))
|
docconf.set('PLUGINDIR', '@0@/lib/gstreamer-1.0'.format(get_option('prefix')))
|
||||||
|
|
||||||
configure_file(input : 'version.entities.in',
|
version_entities = configure_file(input : 'version.entities.in',
|
||||||
output : 'version.entities',
|
output : 'version.entities',
|
||||||
configuration : docconf)
|
configuration : docconf)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue