cuda: Fix introspection warnings
authorThibault Saunier <tsaunier@igalia.com>
Mon, 2 May 2022 15:46:59 +0000 (11:46 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 2 May 2022 18:30:22 +0000 (18:30 +0000)
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1183

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2344>

subprojects/gst-plugins-bad/gst-libs/gst/cuda/meson.build

index 61e75a1..772575b 100644 (file)
@@ -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],