summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Kemper2022-02-13 17:49:58 +0000
committerSebastian Kemper2022-02-13 17:54:17 +0000
commit4492cc2b833a8019ad4c9ea4715cc6ed3c18b309 (patch)
tree8e4fc540ee6467588e28e16550624ef093d861bd
parent2afbe4fda6eb3b4e1173b5eac8daf11f38b51682 (diff)
downloadtelephony-4492cc2b833a8019ad4c9ea4715cc6ed3c18b309.tar.gz
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 <sebastian_ml@gmx.net>
-rw-r--r--net/baresip/Makefile4
1 files 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,))