aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2017-02-11 01:09:16 +0100
committerAndreas Oberritter <obi@opendreambox.org>2017-06-26 22:59:20 +0200
commit68e97db4084a182d3f8e8c70bc896c49d66171a4 (patch)
treea9f1a861177d97c7672340a862d489d940429b01
parente05486ba8b60b34aad4e9c6bb8e3f2c686d5efa5 (diff)
downloadmeta-openembedded-contrib-68e97db4084a182d3f8e8c70bc896c49d66171a4.tar.gz
meta-openembedded-contrib-68e97db4084a182d3f8e8c70bc896c49d66171a4.tar.bz2
meta-openembedded-contrib-68e97db4084a182d3f8e8c70bc896c49d66171a4.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"