From dd585ecfcc25185166edaa67ff6c8c98eec7bf81 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 2 May 2022 11:46:59 -0400 Subject: [PATCH] cuda: Fix introspection warnings Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1183 Part-of: --- subprojects/gst-plugins-bad/gst-libs/gst/cuda/meson.build | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/cuda/meson.build b/subprojects/gst-plugins-bad/gst-libs/gst/cuda/meson.build index 61e75a154c..772575b518 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/cuda/meson.build +++ b/subprojects/gst-plugins-bad/gst-libs/gst/cuda/meson.build @@ -10,7 +10,6 @@ cuda_sources = [ cuda_headers = [ 'cuda-prelude.h', - 'cuda-gst.h', 'gstcudabufferpool.h', 'gstcudacontext.h', 'gstcudaloader.h', @@ -61,8 +60,7 @@ if build_gir 'namespace' : 'CudaGst', 'nsversion' : api_version, 'identifier_prefix' : 'CU', - 'symbol_prefix' : 'cu', - 'export_packages' : pkg_name, + 'symbol_prefix' : ['cu', 'cuda'], 'includes' : [], 'install' : true, 'extra_args' : [], @@ -100,7 +98,7 @@ pkgconfig.generate(gstcuda, description : 'Unstable library to work with CUDA inside GStreamer', ) -install_headers(cuda_headers, subdir : 'gstreamer-1.0/gst/cuda') +install_headers(cuda_headers + ['cuda-gst.h'], subdir : 'gstreamer-1.0/gst/cuda') gstcuda_dep = declare_dependency(link_with : gstcuda, include_directories : [libsinc], dependencies : [gstbase_dep, gmodule_dep, gstvideo_dep, gstglproto_dep],