package/linphone: alsa support in mediastreamer needs alsa_lib_mixer
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 30 Mar 2016 05:41:27 +0000 (07:41 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Mar 2016 14:09:21 +0000 (16:09 +0200)
Fixes
http://autobuild.buildroot.net/results/dd6/dd6cbff641028b25303c3b462e2058b56e53f1dd/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/linphone/linphone.mk

index eb676ea074054a1fb6a6084ba447e761b911d02e..df804907e8f67f246353b0e357f173e14893de49 100644 (file)
@@ -36,6 +36,13 @@ endif
 # needed for bundled mediastreamer2
 LINPHONE_DEPENDENCIES += host-intltool host-gettext
 
+ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yy)
+LINPHONE_CONF_OPTS += --enable-alsa
+LINPHONE_DEPENDENCIES += alsa-lib
+else
+LINPHONE_CONF_OPTS += --disable-alsa
+endif
+
 ifeq ($(BR2_PACKAGE_LIBV4L),y)
 LINPHONE_CONF_OPTS += --enable-libv4l1 --enable-libv4l2
 LINPHONE_DEPENDENCIES += libv4l