Add new snap permission and layout for alsa

Add audio-playback and audio-record interfaces since pulseaudio interface is deprecated
This commit is contained in:
Ilya Fedin 2020-03-07 02:52:12 +04:00 committed by John Preston
parent fdd431dce9
commit 1dc6d942cf

View file

@ -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