[neon/kde/knights/Neon/release] /: it uses openal

Jonathan Riddell null at kde.org
Thu Mar 25 12:42:37 GMT 2021


Git commit 2b25e389024d136c262fd34468ca5f29fe408e03 by Jonathan Riddell.
Committed on 25/03/2021 at 12:42.
Pushed by jriddell into branch 'Neon/release'.

it uses openal

M  +9    -0    snapcraft.yaml

https://invent.kde.org/neon/kde/knights/commit/2b25e389024d136c262fd34468ca5f29fe408e03

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 964293d..5a6d124 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -19,6 +19,7 @@ apps:
         - desktop
         - desktop-legacy
         - removable-media
+        - alsa
 slots:
     session-dbus-interface:
         interface: dbus
@@ -39,6 +40,11 @@ package-repositories:
     key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
     url: http://origin.archive.neon.kde.org/user
     key-server: keyserver.ubuntu.com
+layout:
+  /usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib:
+    bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib
+  /usr/share/alsa:
+    bind: $SNAP/usr/share/alsa
 parts:
     knights:
         parse-info:
@@ -54,6 +60,8 @@ parts:
         build-packages:
         - libkf5doctools-dev
         stage-packages:
+        - libasound2-data
+        - libasound2-plugins
         - gnuchess
         - stockfish
         - sjeng
@@ -79,6 +87,7 @@ parts:
             - "-usr/lib/aspell/*"
         prime:
         - "$exclusion"
+        - "-etc/alsa/conf.d/99-pulse.conf"
     kde-frameworks-5-env:
         plugin: dump
         source: https://invent.kde.org/packaging/snap-kf5-launcher.git


More information about the Neon-commits mailing list