[neon/kde/dragon/Neon/release] /: add alsa

Jonathan Riddell null at kde.org
Wed Mar 17 11:13:46 GMT 2021


Git commit 7523c353529494de6e9c65f1b0d278dc712c45d7 by Jonathan Riddell.
Committed on 17/03/2021 at 11:13.
Pushed by jriddell into branch 'Neon/release'.

add alsa

M  +13   -0    snapcraft.yaml

https://invent.kde.org/neon/kde/dragon/commit/7523c353529494de6e9c65f1b0d278dc712c45d7

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 1b49274..6ddff73 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,15 @@ 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"
+    "/etc/asound.conf":
+        bind-file: "$SNAP/etc/asound.conf"
+    "/usr/share/alsa/alsa.conf":
+        bind-file: "$SNAP/etc/asound.conf"
+    "/usr/share/alsa":
+        bind: $SNAP/usr/share/alsa
 parts:
     dragon:
         parse-info:
@@ -63,6 +73,9 @@ parts:
         - "-DBUILD_TESTING=OFF"
         - "-DKDE_SKIP_TEST_SETTINGS=ON"
         - "-DCMAKE_FIND_ROOT_PATH=/root/stage\\;/snap/kde-frameworks-5-qt-5-15-core20-sdk/current"
+        stage-packages:
+        - libasound2-data
+        - libasound2-plugins
         filesets:
             exclusion:
             - "-usr/lib/*/cmake/*"


More information about the Neon-commits mailing list