summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-05-27 21:47:28 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-30 22:26:13 +0100
commitdb3aafa5ae1ded1b3fe1a6dcd995e5a84dcf82cb (patch)
treee5ee28b427fb1580d233e349d68be9229081b27d /meta/recipes-multimedia/alsa
parent597335308f494926305437eaba39f13efb41d608 (diff)
downloadpoky-db3aafa5ae1ded1b3fe1a6dcd995e5a84dcf82cb.tar.gz
alsa-plugins: Install 99-pulseaudio-default.conf when pulseaudio is enabled
The source file does not exist when pluseaudio is disabled Change-Id: I78e0b9f4b8e66d8f41415c8672c1cb62c8fc5dc6 (From OE-Core rev: 3ad8bd7f33dfe8aaf4732e321270f61fe1ba3526) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb b/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb
index 5105e77895..80f0446482 100644
--- a/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb
+++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb
@@ -50,7 +50,9 @@ do_install_append() {
50 rm ${D}${libdir}/alsa-lib/*.la 50 rm ${D}${libdir}/alsa-lib/*.la
51 51
52 # We use the example as is, so just drop the .example suffix. 52 # We use the example as is, so just drop the .example suffix.
53 mv ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf 53 if [ "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)}" = "yes" ]; then
54 mv ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf
55 fi
54} 56}
55 57
56python populate_packages_prepend() { 58python populate_packages_prepend() {