+depnames = [
+ 'gstreamer-1.0', 'gstreamer-allocators-1.0',
+ 'gstreamer-app-1.0', 'gstreamer-video-1.0',
+ 'gobject-2.0', 'glib-2.0'
+]
+
+deps_remoting = []
+foreach depname : depnames
+ dep = dependency(depname, required: false)
+ if not dep.found()
+ message('Remoting requires @0@ which was not found. '.format(depname))
+ endif
+ deps_remoting += dep
+endforeach
+
+
+# the transmitter plug-in requires waltham but we don't have a cflags or libs
+# for it so we add waltham depends here. Further more, the output is being
+# handled by remoting plug-in
+depnames_waltham = [
+ 'waltham'
+]
+
+deps_waltham = []
+foreach depname : depnames_waltham
+ dep = dependency(depname, required: false)
+ if not dep.found()
+ message('Waltham requires @0@ which was not found. '.format(depname))
+ endif
+ deps_waltham += dep
+endforeach
+
+deps_waltham += deps_remoting
+