csharp: use girs from the root project
This commit is contained in:
parent
7332eb6427
commit
dd8b07fb3f
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -161,21 +161,31 @@ subdir('Tests')
|
||||
bindinator = subproject('bindinator', default_options: ['gapi_fixup=@0@'.format(gapi_fixup)])
|
||||
if bindinator.get_variable('found')
|
||||
bindinate = bindinator.get_variable('bindinate')
|
||||
env = environment()
|
||||
env.set('GI_TYPELIB_PATH', join_paths(meson.global_source_root(), 'girs'))
|
||||
merge_with = '--merge-with=GstApp-1.0,GstAudio-1.0,GstBase-1.0,GstController-1.0,GstNet-1.0,GstPbutils-1.0,GstRtp-1.0,GstRtsp-1.0,GstSdp-1.0,GstTag-1.0,GstVideo-1.0,GstWebRTC-1.0'
|
||||
run_target('bindinate_gstreamer',
|
||||
command: [bindinate,
|
||||
'--name=gstreamer', '--regenerate=true',
|
||||
'--merge-with=GstApp-1.0,GstAudio-1.0,GstBase-1.0,GstController-1.0,GstNet-1.0,GstPbutils-1.0,GstRtp-1.0,GstRtsp-1.0,GstSdp-1.0,GstTag-1.0,GstVideo-1.0,GstWebRTC-1.0',
|
||||
'--gir=Gst-1.0',
|
||||
'--copy-girs=@0@'.format(join_paths(meson.current_source_dir(), 'girs'))],
|
||||
depends: []
|
||||
command: ['sh', '-c',
|
||||
'''@0@ --name=gstreamer --regenerate=true @3@ --gir=Gst-1.0 --out=@1@ && mv @1@/sources/gstreamer-sharp-api.raw @2@/sources/gstreamer-sharp-api.raw '''.format(
|
||||
bindinate.full_path(),
|
||||
meson.current_build_dir(),
|
||||
meson.current_source_dir(),
|
||||
merge_with
|
||||
),
|
||||
],
|
||||
depends: [],
|
||||
env:env,
|
||||
)
|
||||
run_target('bindinate_ges',
|
||||
command: ['sh', '-c',
|
||||
'''@0@ --name=gst-editing-services --regenerate=true --gir=GES-1.0 && mv @1@/sources/gst-editing-services-sharp-api.raw @1@/ges/gst-editing-services-api.raw '''.format(
|
||||
bindinate.path(),
|
||||
meson.current_source_dir()),
|
||||
'''@0@ --name=gst-editing-services --regenerate=true --gir=GES-1.0 --out=@1@ && mv @1@/sources/gst-editing-services-sharp-api.raw @2@/ges/gst-editing-services-api.raw '''.format(
|
||||
bindinate.full_path(),
|
||||
meson.current_build_dir(),
|
||||
meson.current_source_dir()
|
||||
),
|
||||
],
|
||||
depends: []
|
||||
depends: [],
|
||||
env:env,
|
||||
)
|
||||
python3 = import('python3').find_python()
|
||||
run_target('update-code', command: [find_program('update_sources.py')])
|
||||
|
Loading…
x
Reference in New Issue
Block a user