meson: Fix namespace and add some missing args in the gir generation

This commit is contained in:
Rico Tzschichholz 2017-10-05 14:30:43 +02:00 committed by Tim-Philipp Müller
parent ea5900d12f
commit 4a60566999
3 changed files with 5 additions and 5 deletions

View file

@ -24,7 +24,7 @@ if build_gir
export_packages : 'gstreamer-insertbin-1.0',
includes : ['Gst-1.0'],
install : true,
extra_args : gir_init_section + ['-DGST_USE_UNSTABLE_API'],
extra_args : gir_init_section + ['-DGST_USE_UNSTABLE_API'] + ['--c-include=gst/insertbin/gstinsertbin.h'],
dependencies : [gst_dep]
)
gen_sources += insertbin_gir

View file

@ -47,12 +47,12 @@ if build_gir
sources : mpegts_sources + mpegts_headers,
namespace : 'GstMpegts',
nsversion : api_version,
identifier_prefix : 'Gst',
symbol_prefix : 'gst',
identifier_prefix : 'GstMpegts',
symbol_prefix : 'gst_mpegts', #FIXME ['gst_mpegts', 'gst'],
export_packages : 'gstreamer-mpegts-1.0',
includes : ['Gst-1.0'],
install : true,
extra_args : gir_init_section + ['-DGST_USE_UNSTABLE_API'],
extra_args : gir_init_section + ['-DGST_USE_UNSTABLE_API'] + ['--c-include=gst/mpegts/mpegts.h'],
dependencies : [gst_dep]
)
gen_sources += mpegts_gir

View file

@ -46,7 +46,7 @@ if build_gir
includes : ['Gst-1.0', 'GstPbutils-1.0', 'GstBase-1.0', 'GstVideo-1.0',
'GstAudio-1.0', 'GstTag-1.0'],
install : true,
extra_args : gir_init_section + ['-DGST_USE_UNSTABLE_API'],
extra_args : gir_init_section + ['-DGST_USE_UNSTABLE_API'] + ['--c-include=gst/player/player.h'],
dependencies : [gstbase_dep, gstvideo_dep, gstaudio_dep,
gsttag_dep, gstpbutils_dep]
)