From 1dc6d942cfe7681510b2df34a9123a1b078598b0 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Sat, 7 Mar 2020 02:52:12 +0400 Subject: [PATCH] Add new snap permission and layout for alsa Add audio-playback and audio-record interfaces since pulseaudio interface is deprecated --- snap/snapcraft.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 62a4f41c6..74de50313 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -14,9 +14,12 @@ apps: environment: # Use GTK3 cursor theme, icon theme and open/save file dialogs. QT_QPA_PLATFORMTHEME: gtk3 - # Wayland support is still too bad. + # The blocker is https://github.com/ubuntu/snapcraft-desktop-helpers/issues/172 DISABLE_WAYLAND: 1 plugs: + - alsa + - audio-playback + - audio-record - desktop - desktop-legacy - home @@ -44,6 +47,10 @@ plugs: target: $SNAP/data-dir/sounds default-provider: gtk-common-themes +layout: + /usr/share/alsa: + bind: $SNAP/usr/share/alsa + parts: telegram: plugin: cmake