After some investigation, I found that we shoud add media-plugins/gst-plugins-pulse as a dependence on pulseaudio-based systems to enable sound support. Reproducible: Always Steps to Reproduce: 1. Globally disable the USE flag alsa except necessary ones to make pulseaudio|pipewire and legacy applications work as expected. 2. Do not install media-plugins/gst-plugins-pulse. 3. Configure a kvm VM with spice audio backend enabled, connect to it using spicy. Actual Results: spicy audio support works.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1601befca37d5f5edd4a2c7058d3f5cf8b360f6b commit 1601befca37d5f5edd4a2c7058d3f5cf8b360f6b Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-12 13:39:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-12 13:44:35 +0000 net-misc/spice-gtk: add 0.40 pulseaudio becomes an optfeature as it's a pure RDEPEND. Closes: https://bugs.gentoo.org/775554 Closes: https://bugs.gentoo.org/818808 Closes: https://bugs.gentoo.org/851252 Signed-off-by: Sam James <sam@gentoo.org> net-misc/spice-gtk/Manifest | 1 + net-misc/spice-gtk/spice-gtk-0.40.ebuild | 139 +++++++++++++++++++++++++++++++ net-misc/spice-gtk/spice-gtk-9999.ebuild | 60 ++++++++----- 3 files changed, 178 insertions(+), 22 deletions(-)