add meson support
This is needed to integrate gst-plugins-rs with gst-build, see gst-build#63 (closed)
@slomo : here is what I have so far. I just added the cdg
plugin as a proof of concept. Let me know what you think of this approach and I'll add the other plugins.
It works fine when building only gst-plugins-rs
but not with gst-build
as building the gstreamer-rs
crate needs the GStreamer C libs as dependency.
I can add those to meson but I didn't find a way to define PKG_CONFIG_PATH
when building my custom target.
@nirbheek @xclaesse : is there a way to extract the pkg config paths from a list of dependencies?
Ideally I'd also need a way to define a custom env ( https://github.com/mesonbuild/meson/issues/266 ) but I suppose I can workaround that by including the env in the custom target command.