aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2017-02-11 01:09:16 +0100
committerAndreas Oberritter <obi@opendreambox.org>2017-02-16 11:36:28 +0100
commita22014556ee5d5382d8406a5d14c035d9bbcc5a6 (patch)
tree8f4e00df8363b98e73cb85b3f9dd8553f4555562
parent7795ed387c9a54108aca634256d08d180840f446 (diff)
downloadmeta-openembedded-contrib-a22014556ee5d5382d8406a5d14c035d9bbcc5a6.tar.gz
meta-openembedded-contrib-a22014556ee5d5382d8406a5d14c035d9bbcc5a6.tar.bz2
meta-openembedded-contrib-a22014556ee5d5382d8406a5d14c035d9bbcc5a6.zip
libmikmod: create packageconfig option for pulseaudio
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-rw-r--r--meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.6.bb4
1 files changed, 3 insertions, 1 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 2e1b9bf057..9d31c92ec0 100644
--- a/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.6.bb
+++ b/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.6.bb
@@ -3,7 +3,7 @@ SECTION = "libs"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c"
-DEPENDS = "alsa-lib texinfo pulseaudio"
+DEPENDS = "alsa-lib texinfo"
SRC_URI = "\
${SOURCEFORGE_MIRROR}/project/mikmod/${BPN}/${PV}/${BPN}-${PV}.tar.gz \
@@ -24,3 +24,5 @@ EXTRA_OECONF = "\
--enable-threads \
"
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}"
+PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio"