From: André Hentschel Date: Thu, 5 Mar 2015 19:38:40 +0000 (+0100) Subject: wine: Add dependency check for ALSA X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81230a5b3a27e315f0ba1334d7ab257812b7ab69;p=buildroot.git wine: Add dependency check for ALSA Fixes: http://autobuild.buildroot.org/results/018/018391c5e70d33bc0b5745ad7a2a273efa9be0d7/ Signed-off-by: André Hentschel Signed-off-by: Thomas Petazzoni --- diff --git a/package/wine/wine.mk b/package/wine/wine.mk index 926ac99902..47c72596d0 100644 --- a/package/wine/wine.mk +++ b/package/wine/wine.mk @@ -29,6 +29,13 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y) WINE_CONF_OPTS += TARGETFLAGS="-b $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PREFIX))" endif +ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_SEQ),yy) +WINE_CONF_OPTS += --with-alsa +WINE_DEPENDENCIES += alsa-lib +else +WINE_CONF_OPTS += --without-alsa +endif + ifeq ($(BR2_PACKAGE_CUPS),y) WINE_CONF_OPTS += --with-cups WINE_DEPENDENCIES += cups