meson.build

changeset 40523
9bcf96663cb9
parent 40519
974dbfd7e52f
child 40536
c0ea70247280
--- a/meson.build	Tue Aug 25 21:44:38 2020 -0500
+++ b/meson.build	Tue Aug 25 21:53:23 2020 -0500
@@ -355,19 +355,14 @@
 # Check for GStreamer
 #######################################################################
 
-gstreamer = dependency('gstreamer-1.0', required : get_option('gstreamer'))
-conf.set('USE_GSTREAMER', gstreamer.found())
+gstreamer = dependency('gstreamer-1.0')
 
 #######################################################################
 # Check for GStreamer Video
 #######################################################################
-if gstreamer.found()
-	gstreamer_video = dependency('gstreamer-video-1.0',
-	                             required : get_option('gstreamer-video'))
-	conf.set('USE_GSTVIDEO', gstreamer_video.found())
-else
-	gstreamer_video = []
-endif
+gstreamer_video = dependency('gstreamer-video-1.0',
+                             required : get_option('gstreamer-video'))
+conf.set('USE_GSTVIDEO', gstreamer_video.found())
 
 #######################################################################
 # Check for Farstream
@@ -379,7 +374,7 @@
 # Check for Voice and Video support
 #######################################################################
 if get_option('vv').enabled() or get_option('vv').auto()
-	if gstreamer.found() and gstreamer_video.found() and farstream.found()
+	if gstreamer_video.found() and farstream.found()
 		conf.set('USE_VV', true)
 		enable_vv = true
 	else
@@ -786,7 +781,6 @@
 message('')
 message('Protocols to build dynamically : @0@'.format(DYNAMIC_PRPLS))
 message('')
-message('Build with GStreamer support.. : ' + gstreamer.found().to_string())
 message('Build with voice and video.... : ' + enable_vv.to_string())
 message('Build with Nettle support..... : ' + nettle.found().to_string())
 message('Build with Cyrus SASL support. : ' + sasl.found().to_string())

mercurial