4A: disable pulseaudio alsa plugin 57/15557/5
authorRonan Le Martret <ronan.lemartret@iot.bzh>
Fri, 20 Jul 2018 13:38:12 +0000 (15:38 +0200)
committerronan Le Martret <ronan.lemartret@iot.bzh>
Mon, 23 Jul 2018 16:16:54 +0000 (16:16 +0000)
This fix should be revert, if pulseaudio is remove from DISTRO_FEATURES
(as a option)

Bug-AGL: SPEC-1234

Change-Id: I68ce35a620a107d09a0fbe85cf05fe2abfb7902e
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
meta-audio-4a-framework/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb

index 82d65cd..1e34f82 100644 (file)
@@ -60,6 +60,7 @@ do_install_append() {
        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
+       rm -f ${D}${datadir}/alsa/alsa.conf.d/*pulseaudio*
 }
 
 python populate_packages_prepend() {
@@ -96,8 +97,7 @@ INSANE_SKIP_${MLPREFIX}libasound-module-rate-speexrate = "dev-so"
 # 99-pulseaudio-default.conf configures the "default" device to use the
 # PulseAudio plugin.
 FILES_${PN}-pulseaudio-conf += "\
-        ${datadir}/alsa/alsa.conf.d/50-pulseaudio.conf \
-        ${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf \
+        ${datadir}/alsa/alsa.conf.d \
 "
 
 RDEPENDS_${PN}-pulseaudio-conf += "\