From: Bernd Kuhls Date: Wed, 30 Mar 2016 05:41:27 +0000 (+0200) Subject: package/linphone: alsa support in mediastreamer needs alsa_lib_mixer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1370976b6454ea87482334ec648a6453d7d65568;p=buildroot.git package/linphone: alsa support in mediastreamer needs alsa_lib_mixer Fixes http://autobuild.buildroot.net/results/dd6/dd6cbff641028b25303c3b462e2058b56e53f1dd/ Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/linphone/linphone.mk b/package/linphone/linphone.mk index eb676ea074..df804907e8 100644 --- a/package/linphone/linphone.mk +++ b/package/linphone/linphone.mk @@ -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