cuda: meson: Fix generating GstCuda gir file against gstreamer-full

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
This commit is contained in:
Thibault Saunier 2022-09-01 10:28:13 -04:00 committed by GStreamer Marge Bot
parent b5e90fe579
commit c971a6d71f

View file

@ -1,13 +1,13 @@
cuda_sources = [
cuda_sources = files([
'gstcudaloader.c',
'gstcudacontext.c',
'gstcudautils.c',
'gstcudamemory.c',
'gstcudabufferpool.c',
'gstcudanvrtc.c',
]
])
cuda_headers = [
cuda_headers = files([
'cuda-prelude.h',
'gstcudabufferpool.h',
'gstcudacontext.h',
@ -15,7 +15,7 @@ cuda_headers = [
'gstcudamemory.h',
'gstcudanvrtc.h',
'gstcudautils.h',
]
])
gstcuda_dep = dependency('', required : false)
@ -73,7 +73,7 @@ if build_gir
'export_packages' : pkg_name,
'includes' : gir_includes,
'install' : true,
'extra_args' : gir_init_section + ['-DGST_USE_UNSTABLE_API'],
'extra_args' : gir_init_section + ['-DGST_USE_UNSTABLE_API', '-I' + meson.current_source_dir() / 'stub'],
'dependencies' : [gstbase_dep, gstvideo_dep, gstglproto_dep],
}
if not static_build