This issue is about discussing what's needed for apps to make use of libspiel without punching hole in the sandbox with "--socket=session-bus".
That particular static permission is considered unsafe. See for example Bustle on Flathub
In the Flatpak world we solve this with portals https://flatpak.github.io/xdg-desktop-portal/ ; we would need a new one, for example org.freedesktop.portal.Speech.
Since libspiel architecture doesn't use a service - I 'm not exactly sure how the portal would work but here is an idea to get the ball rolling
This issue is about discussing what's needed for apps to make use of libspiel without punching hole in the sandbox with
"--socket=session-bus".That particular static permission is considered unsafe. See for example Bustle on Flathub
In the Flatpak world we solve this with portals https://flatpak.github.io/xdg-desktop-portal/ ; we would need a new one, for example
org.freedesktop.portal.Speech.Since libspiel architecture doesn't use a service - I 'm not exactly sure how the portal would work but here is an idea to get the ball rolling
GetProvidersandSetProvidermethods