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:
authorJan Beich <jbeich@FreeBSD.org>2021-08-15 14:59:58 +0300
committerSebastian Dröge <slomo@coaxion.net>2022-11-05 11:19:12 +0300
commitd01779dc6c6ee32992cd31c63b3b1f65879d4928 (patch)
tree677ffc41262cdec5c7b08529dec68a34e5ea2e9e /meson.build
parent9aeaac5a96bfcbba69c3dd911413659f09c71a9e (diff)
meson: optionalize pango dependency used by net/onvif
Similar to -Dpango=<auto|enabled|disabled> in gst-plugins-base.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 6f68ddfbc..97d7e6c0a 100644
--- a/meson.build
+++ b/meson.build
@@ -54,7 +54,6 @@ plugins = {
'gst-plugin-aws': 'libgstaws',
'gst-plugin-hlssink3': 'libgsthlssink3',
'gst-plugin-ndi': 'libgstndi',
- 'gst-plugin-onvif': 'libgstrsonvif',
'gst-plugin-raptorq': 'libgstraptorq',
'gst-plugin-reqwest': 'libgstreqwest',
'gst-plugin-rtp': 'libgstrsrtp',
@@ -98,6 +97,10 @@ if dependency('pangocairo', required : get_option('closedcaption')).found()
plugins += {'gst-plugin-closedcaption' : 'libgstrsclosedcaption',}
endif
+if dependency('pangocairo', required : get_option('onvif')).found()
+ plugins += {'gst-plugin-onvif': 'libgstrsonvif',}
+endif
+
if dependency('dav1d', version : '>= 1.0.0', required : get_option('dav1d')).found()
plugins += {'gst-plugin-dav1d' : 'libgstdav1d'}
endif