From 3294d066144cc61df3717af95bca8032f8386375 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 3 Nov 2017 10:13:50 -0400 Subject: Rework PulseAudio / audiomanager config setup to allow over-rides Changes include: - Move from having PulseAudio configuration changes in the recipe bbappend as patches to using the .include directive in default.pa to pick up configuration fragments provided by other recipes. - Use virtual/pulseaudio-config to pick up the previously hard-coded configuration for enabling module-router.so, which is now provided by a new recipe that sets RPROVIDES appropriately. This allows over-riding the desired configuration if needed. - Switch the audiomanager-plugins-config dependency to using virtual/audiomanager-plugins-config so that it can be over-ridden with PREFERRED_PROVIDER if needed. Bug-AGL: SPEC-1025, SPEC-1026, SPEC-1027 Change-Id: Ifdf16871cddc2bec7761b8c63239623b63c9e984 Signed-off-by: Scott Murray --- recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'recipes-multimedia/pulseaudio/pulseaudio_%.bbappend') diff --git a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend index 986305489..5b779b765 100644 --- a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend +++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend @@ -1,4 +1,4 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI += "file://0006-auto-load-module-router.patch" -SRC_URI += "file://0001-disable-module-role-cork-by-default.patch" +# Add .include directive to default.pa so optional configuration can be added +do_install_append () { + echo -n "\n.include ${sysconfdir}/pulse/default.d\n" >> ${D}${sysconfdir}/pulse/default.pa +} -- cgit 1.2.3-korg