From 4492cc2b833a8019ad4c9ea4715cc6ed3c18b309 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 13 Feb 2022 18:49:58 +0100 Subject: [PATCH] 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 --- net/baresip/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,)) -- 2.30.2