From 81230a5b3a27e315f0ba1334d7ab257812b7ab69 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Hentschel?= Date: Thu, 5 Mar 2015 20:38:40 +0100 Subject: [PATCH] wine: Add dependency check for ALSA MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: http://autobuild.buildroot.org/results/018/018391c5e70d33bc0b5745ad7a2a273efa9be0d7/ Signed-off-by: André Hentschel Signed-off-by: Thomas Petazzoni --- package/wine/wine.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.30.2