Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-05-12 20:35:21 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-05-12 22:52:43 +0300
commit829dce524dbbf34439422cd2906b94ce0e7920ed (patch)
tree88b69699942158d042c89cca66f670602112ec2e /release/freedesktop/snap/snapcraft.yaml.in
parenta5eee1f935a53acba087fae89e5cffc6c37468cd (diff)
Fix T72920: Snap package fails to play audio and blocks audio in other apps
ALSA and OSS are not available for the snap packages, and trying to initialize them seems to cause some problems for other applications. Instead configure OpenAL and SDL to use PulseAudio, and set PULSE_SERVER environment variable to make it work.
Diffstat (limited to 'release/freedesktop/snap/snapcraft.yaml.in')
-rw-r--r--release/freedesktop/snap/snapcraft.yaml.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/release/freedesktop/snap/snapcraft.yaml.in b/release/freedesktop/snap/snapcraft.yaml.in
index a79d9ccc0a2..eb3ef97eba8 100644
--- a/release/freedesktop/snap/snapcraft.yaml.in
+++ b/release/freedesktop/snap/snapcraft.yaml.in
@@ -24,7 +24,7 @@ confinement: classic
apps:
blender:
- command: ./blender
+ command: ./blender-wrapper
desktop: ./blender.desktop
version: '@VERSION@'
@@ -46,3 +46,8 @@ parts:
- libxfixes3
- libxrender1
- libxxf86vm1
+ wrapper:
+ plugin: copy
+ source: .
+ files:
+ blender-wrapper: blender-wrapper