mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-20 22:41:11 +00:00
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:
parent
fdd431dce9
commit
1dc6d942cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user