aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtc_meson.build
blob: ae302fcad5b197c7b15077b989914b2a716784ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ext/webrtc/meson.build.orig	2023-01-23 19:29:34 UTC
+++ ext/webrtc/meson.build
@@ -12,6 +12,10 @@ webrtc_sources = [
   'webrtcdatachannel.c',
 ]
 
+if not is_variable('libgstwebrtcnice_dep')
+  libgstwebrtcnice_dep=cc.find_library('gstwebrtcnice-1.0', required : true)
+endif
+
 webrtc_option = get_option('webrtc').require(
   libgstwebrtcnice_dep.found(), error_message: 'webrtc plugin requires libgstwebrtcnice.')
 if webrtc_option.disabled()