mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
meson: check: generate .gir file
https://bugzilla.gnome.org/show_bug.cgi?id=782173
This commit is contained in:
parent
f322740ef9
commit
ce439995c0
1 changed files with 21 additions and 1 deletions
|
@ -47,6 +47,26 @@ gst_check = shared_library('gstcheck-@0@'.format(apiversion),
|
|||
dependencies : [gobject_dep, glib_dep, gst_dep],
|
||||
)
|
||||
|
||||
gst_check_gen_sources = []
|
||||
|
||||
if build_gir
|
||||
gst_gir_extra_args = gir_init_section + [ '--c-include=gst/check/check.h' ]
|
||||
gst_check_gen_sources += [gnome.generate_gir(gst_check,
|
||||
sources : gst_check_sources + gst_check_headers,
|
||||
namespace : 'GstCheck',
|
||||
nsversion : apiversion,
|
||||
identifier_prefix : 'Gst',
|
||||
symbol_prefix : 'gst',
|
||||
export_packages : 'gstreamer-check-1.0',
|
||||
dependencies : [gst_dep],
|
||||
include_directories : [configinc, libsinc, privinc],
|
||||
includes : ['GLib-2.0', 'GObject-2.0', 'GModule-2.0', 'Gst-1.0'],
|
||||
install : true,
|
||||
extra_args : gst_gir_extra_args,
|
||||
)]
|
||||
endif
|
||||
|
||||
gst_check_dep = declare_dependency(link_with : gst_check,
|
||||
include_directories : [libsinc],
|
||||
dependencies : [gst_dep])
|
||||
dependencies : [gst_dep],
|
||||
sources : gst_check_gen_sources)
|
||||
|
|
Loading…
Reference in a new issue