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:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build11
1 files changed, 8 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index fc2b06847..cebe435a7 100644
--- a/meson.build
+++ b/meson.build
@@ -316,15 +316,20 @@ endif
if gst_dep.version().version_compare('>=1.21')
components = [
'', '-app', '-audio', '-base', '-check', '-net', '-pbutils',
- '-plugin-tracers', '-rtp', '-sdp', '-utils', '-video', '-webrtc',
+ '-rtp', '-sdp', '-utils', '-video', '-webrtc',
]
+ if get_option('tracers').allowed()
+ components += '-plugin-tracers'
+ endif
foreach c: components
features += f'gst@c@/v1_22'
endforeach
- features += ['gst-plugin-webrtc/gst1_22']
+ if get_option('webrtc').allowed()
+ features += 'gst-plugin-webrtc/gst1_22'
+ endif
endif
-if find_program('nasm', required: false).found()
+if get_option('rav1e').allowed() and find_program('nasm', required: false).found()
features += 'gst-plugin-rav1e/asm'
endif