From c8892a953a64f354575e66a68742c1b2a138f3a7 Mon Sep 17 00:00:00 2001 From: Richard Leitner Date: Fri, 11 Sep 2020 10:58:17 +0200 Subject: openjdk-8-common: fix soundless evaluation If only alsa and not pulseaudio was in PACKAGECONFIG soundless was configured. This is incorrect for obvious reasons, therefore set soundless only if alsa and pulseaudio isn't set. Signed-off-by: Richard Leitner --- recipes-core/openjdk/openjdk-8-common.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc index c78bb2a..d69fb46 100644 --- a/recipes-core/openjdk/openjdk-8-common.inc +++ b/recipes-core/openjdk/openjdk-8-common.inc @@ -96,10 +96,7 @@ def package_config_option_cleanup(d): if not option_headless and not with_cups: option_headless = True - if not option_soundless and not with_alsa: - option_soundless = True - - if not option_soundless and not with_pulseaudio: + if not option_soundless and not with_pulseaudio and not with_alsa: option_soundless = True options = {'make': [], 'cpp': [], 'env': [], 'configure': ["--disable-ccache"] } -- cgit v1.2.3-54-g00ecf