gst-python: Fix warning about not specifying gst_plugins in the

../meson.build:231: WARNING: DEPRECATED use of the `plugins` variable in gst-python.
../meson.build:232: WARNING: The variable should now be called `gst_plugins` and use:
../meson.build:233: WARNING: `declare_dependency( link_with: <plugin_target>,
                             variable: {'full_path': <plugin_target>.full_path()})` instead

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8753>
This commit is contained in:
Nirbheek Chauhan 2025-04-01 18:35:50 +05:30 committed by GStreamer Marge Bot
parent 92e91c25b5
commit b416aa9b8f

View File

@ -6,3 +6,7 @@ gstpython = library('gstpython',
install_dir : '@0@/gstreamer-1.0'.format(get_option('libdir')),
)
plugins = [gstpython]
# XXX: Generate a pc file for this plugin? Can gstpython be statically linked?
dep = declare_dependency(link_with: gstpython, variables: {'full_path': gstpython.full_path()})
meson.override_dependency(gstpython.name(), dep)
gst_plugins = [dep]