Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2022-08-16 17:44:41 +0300
committerThibault Saunier <tsaunier@igalia.com>2022-10-20 12:51:58 +0300
commit39c0dcb0d444737003180ee4ee9839610511a671 (patch)
tree2a1dc3eb389fda46225e55bb1cce1eddd740bd6a /meson.build
parentb164daf5102451990fd1eafe1415cc712843317a (diff)
Plug webrtc in
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build10
1 files changed, 9 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index ea0e04f33..85710c705 100644
--- a/meson.build
+++ b/meson.build
@@ -66,6 +66,7 @@ plugins = {
'gst-plugin-textahead': 'libgsttextahead',
'gst-plugin-onvif': 'libgstrsonvif',
'gst-plugin-tracers': 'libgstrstracers',
+ 'gst-plugin-webrtc': 'libgstrswebrtc',
'gst-plugin-webrtchttp': 'libgstwebrtchttp',
'gst-plugin-rtpav1': 'libgstrtpav1',
'gst-plugin-ndi': 'libgstndi',
@@ -233,10 +234,17 @@ foreach plugin : plugins
capture: true,
check: true)
foreach dep_name : p.stdout().strip().split(',')
+ dep_name_version = dep_name.split('|')
+ dep_name = dep_name_version.get(0)
+ if dep_name_version.length() > 1
+ extras = {'version': dep_name_version.get(1)}
+ else
+ extras = {}
+ endif
if deps_cache.has_key(dep_name)
plugin_deps += deps_cache[dep_name]
else
- dep = dependency(dep_name, required: false)
+ dep = dependency(dep_name, required: false, kwargs: extras)
plugin_deps += dep
deps_cache += {dep_name: dep}
endif