Skip to contentSkip to conversation

openjdk-8-cross.inc: add pulseaudio PACKAGECONFIG

PATCH New [email protected] 1 participant 1 message Oct 11, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openjdk-8-cross.inc: add pulseaudio PACKAGECONFIG

From: Ming Liu <[email protected]>

Add pulseaudio PACKAGECONFIG and set it by default if pulseaudio is enabled in DISTRO_FEATURES, this introduces a dependency DEPENDS on pulseaudio which is currently missing.

Without this patch, jdk/jre will be built as soundless even pulseaudio is enabled in PACKAGECONFIG.

---
 recipes-core/openjdk/openjdk-8-cross.inc | 2 ++
 1 file changed, 2 insertions(+)
recipes-core/openjdk/openjdk-8-cross.inc +2 -0
index ad3a44d..d21d9a7 100644
@@ -34,10 +34,12 @@ PACKAGECONFIG ??= " \
     repack \
     ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 cups', '', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
 "
 PACKAGECONFIG[x11] = "--with-x,,libx11 xproto libxt libxext libxrender libxtst"
 PACKAGECONFIG[cups] = "--with-cups,,cups"
 PACKAGECONFIG[alsa] = "--with-alsa,,alsa-lib"
+PACKAGECONFIG[pulseaudio] = ",,pulseaudio"
 
 PACKAGECONFIG[jce] = "--enable-unlimited-crypto,,"
 
Signature · 1 line
2.7.4