From 4c80c5d102cfcc230cb2fe60da5df4e904dcfed1 Mon Sep 17 00:00:00 2001 From: Marc Ferland Date: Tue, 3 Sep 2024 16:32:59 -0400 Subject: [PATCH] plasma-pa: fix audio test When pressing the 'Test' button from the Settings application, plasma-pa will call libcanberra to play a sample sound. Without libcanberra-pulse installed, the test will fail with "No driver" since libcanberra cannot find any plugins. Make sure at least the alsa and pulse plugins are installed so that the test succeeds. I can now hear a nice bing! Note: I think only libcanberra-pulse is needed but I added both just to be sure. Signed-off-by: Marc Ferland --- recipes-plasma/plasma-pa.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes-plasma/plasma-pa.inc b/recipes-plasma/plasma-pa.inc index f0bc15a..6117cfc 100644 --- a/recipes-plasma/plasma-pa.inc +++ b/recipes-plasma/plasma-pa.inc @@ -31,6 +31,11 @@ DEPENDS += " \ libcanberra \ " +RDEPENDS:${PN} += " \ + libcanberra-alsa \ + libcanberra-pulse \ +" + inherit cmake_plasma inherit kf6-kdoctools