aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGregor <dan.mcgregor@usask.ca>2014-09-18 10:00:54 -0600
committerDan McGregor <dan.mcgregor@usask.ca>2017-05-09 13:02:30 -0600
commitd13ab7388428a1db0bbca713d1656d2f25d57909 (patch)
treed1669d90e7cdbb3b91f5f139619bc352da4dbb6a
parent282614c07f55a8d7962ef062d4486cf7c81b58fb (diff)
downloadmeta-openembedded-contrib-d13ab7388428a1db0bbca713d1656d2f25d57909.tar.gz
meta-openembedded-contrib-d13ab7388428a1db0bbca713d1656d2f25d57909.tar.bz2
meta-openembedded-contrib-d13ab7388428a1db0bbca713d1656d2f25d57909.zip
libmikmod: make pulseaudio dependency optional.
Only add pulseaudio dependency if it's in distro features, otherwise disable it completely. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
-rw-r--r--meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.6.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.6.bb b/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.6.bb
index d53dff6a07..923b7efe5f 100644
--- a/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.6.bb
+++ b/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.6.bb
@@ -13,6 +13,9 @@ SRC_URI[sha256sum] = "3f363e03f7b1db75b9b6602841bbd440ed275a548e53545f980df8155d
inherit autotools binconfig lib_package
+PACKAGECONFIG ??= " ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}"
+PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio=yes,--enable-pulseaudio=no,pulseaudio"
+
EXTRA_OECONF = "\
--disable-af \
--enable-alsa \