gstreamer/subprojects/gst-python/plugin/meson.build
Nirbheek Chauhan b416aa9b8f 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>
2025-04-30 10:18:57 +00:00

12 lines
551 B
Meson

gstpython = library('gstpython',
['gstpythonplugin.c'],
include_directories : [configinc],
dependencies : [gst_dep, pygobject_dep, gstbase_dep, python_embed_dep, gmodule_dep, libdl],
install : true,
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]