[neon/kde/klickety/Neon/release] /: openal

Jonathan Riddell null at kde.org
Wed Mar 24 17:50:37 GMT 2021


Git commit 268d3728c4af57f1432410aa066b9aaeb48fb314 by Jonathan Riddell.
Committed on 24/03/2021 at 17:50.
Pushed by jriddell into branch 'Neon/release'.

openal

M  +10   -0    snapcraft.yaml

https://invent.kde.org/neon/kde/klickety/commit/268d3728c4af57f1432410aa066b9aaeb48fb314

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 5c99f35..2275923 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:
     klickety:
         parse-info:
@@ -61,6 +67,9 @@ parts:
         - "-DBUILD_TESTING=OFF"
         - "-DKDE_SKIP_TEST_SETTINGS=ON"
         - "-DCMAKE_FIND_ROOT_PATH=/usr\\;/root/stage\\;/snap/kde-frameworks-5-qt-5-15-core20-sdk/current"
+        stage-packages:
+        - libasound2-data
+        - libasound2-plugins
         filesets:
             exclusion:
             - "-usr/lib/*/cmake/*"
@@ -74,6 +83,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