From 488e7f9e191790b54adeb3f4b968ae27d50c9f33 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(-) (limited to 'recipes-core') diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc index 04acc59..70585a6 100644 --- a/recipes-core/openjdk/openjdk-8-common.inc +++ b/recipes-core/openjdk/openjdk-8-common.inc @@ -111,10 +111,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