gst: Fix gst-env and libgstreamer-full.so suppport
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 5 Mar 2021 02:18:47 +0000 (21:18 -0500)
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>
Fri, 5 Mar 2021 05:23:29 +0000 (05:23 +0000)
gst-build uses meson introspection and reads the plugins array of each
subproject in order to locate the plugins. Setting libnice plugins array allow
enabling nice plugin in both gst-env.py and when building single library
libgstreamer-full.so.

gst/meson.build

index 091a37f..572c6ab 100644 (file)
@@ -16,6 +16,7 @@ libgstnice = library('gstnice',
   link_with: libnice,
   install_dir: gst_plugins_install_dir,
   install: true)
+plugins = [libgstnice]
 
 # Generate pc files for static plugins if we build static plugins
 if get_option('default_library') != 'shared'