[OE-core] [PATCH] alsa-plugins: Install 99-pulseaudio-default.conf when pulseaudio is enabled
Khem Raj
raj.khem at gmail.com
Thu May 28 04:47:28 UTC 2015
The source file does not exist when pluseaudio is disabled
Change-Id: I78e0b9f4b8e66d8f41415c8672c1cb62c8fc5dc6
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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 5105e77..80f0446 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() {
rm ${D}${libdir}/alsa-lib/*.la
# We use the example as is, so just drop the .example suffix.
- mv ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf
+ if [ "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)}" = "yes" ]; then
+ mv ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf
+ fi
}
python populate_packages_prepend() {
--
2.1.4
More information about the Openembedded-core
mailing list