From: Sebastian Kemper Date: Sun, 13 Feb 2022 17:49:58 +0000 (+0100) Subject: baresip: only build gst with AUDIO_SUPPORT enabled X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F743%2Fhead;p=feed%2Ftelephony.git baresip: only build gst with AUDIO_SUPPORT enabled Most gstreamer packages aren't build when the target does not have AUDIO_SUPPORT. This can be seen with realtek target (4kec). This commit makes the gst plugins depend on AUDIO_SUPPORT, because otherwise the build dies with this error: Package baresip-mod-gst-video is missing dependencies for the following libraries: libgstapp-1.0.so.0 Note: compiling baresip on a target without AUDIO_SUPPORT may be questionable anyway. Close #730 Signed-off-by: Sebastian Kemper --- diff --git a/net/baresip/Makefile b/net/baresip/Makefile index 31fc32f..225ebf2 100644 --- a/net/baresip/Makefile +++ b/net/baresip/Makefile @@ -215,8 +215,8 @@ $(eval $(call BuildPlugin,fakevideo,Fake video input/output driver,fakevideo,)) $(eval $(call BuildPlugin,g711,G.711 audio codec,g711,)) $(eval $(call BuildPlugin,g722,G.722 audio codec,g722,+libspandsp)) $(eval $(call BuildPlugin,g726,G.726 audio codec,g726,+libspandsp)) -$(eval $(call BuildPlugin,gst,Gstreamer 1.0 playbin pipeline,gst,+glib2 +libgstreamer1)) -$(eval $(call BuildPlugin,gst_video,Video codecs using Gstreamer 1.0,gst_video,+glib2 +libgst1app +libgstreamer1)) +$(eval $(call BuildPlugin,gst,Gstreamer 1.0 playbin pipeline,gst,@AUDIO_SUPPORT +glib2 +libgstreamer1)) +$(eval $(call BuildPlugin,gst_video,Video codecs using Gstreamer 1.0,gst_video,@AUDIO_SUPPORT +glib2 +libgst1app +libgstreamer1)) $(eval $(call BuildPlugin,httpd,HTTP webserver UI-module,httpd,)) $(eval $(call BuildPlugin,httpreq,HTTP request module,httpreq,)) $(eval $(call BuildPlugin,l16,16-bit linear codec,l16,))