ports/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtc_meson.build
Gleb Popov 4a8a17c8c6 multimedia/gstreamer1: Update to 1.22, new stable branch.
PR:		269895
Exp-run by:	antoine
Sponsored by:   Serenity Cybersecurity, LLC
2023-03-09 12:33:30 +03:00

14 lines
451 B
Plaintext

--- 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()