aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-05-10 15:36:12 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-05-12 08:38:30 +0200
commit601fd016266cb87b6f000f6dca347043a4e64488 (patch)
treeb7cd6fdad1f88f57bb227caeb897f76ea1d4a93a
parent55960934f722218b4b922eb352b08a8477b593b5 (diff)
downloadmeta-openembedded-601fd016266cb87b6f000f6dca347043a4e64488.tar.gz
meta-openembedded-601fd016266cb87b6f000f6dca347043a4e64488.tar.bz2
meta-openembedded-601fd016266cb87b6f000f6dca347043a4e64488.zip
libao: add PACKAGECONFIG for alsa and pulseaudio
* fixes following issues from test-dependencies report: Found errors: libao/libao-plugin-libalsa/latest doesn't exist libao/libao-plugin-libalsa-dbg/latest doesn't exist libao/libao-plugin-libpulse/latest doesn't exist libao/libao-plugin-libpulse-dbg/latest doesn't exist Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
index d2da08e42..1a2260485 100644
--- a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
+++ b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
@@ -26,5 +26,7 @@ python populate_packages_prepend () {
do_split_packages(d, rootdir_dbg, '^(.*)\.so$', output_pattern='${BPN}-plugin-%s-dbg', description='AO %s plugin debug data')
}
-PACKAGECONFIG ?= ""
+PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d) ${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)"
PACKAGECONFIG[esound] = "--enable-esd,--disable-esd,esound"
+PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
+PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio"