[neon/kde/kblocks/Neon/release] /: this gets sound working

Jonathan Riddell null at kde.org
Tue Mar 9 13:25:53 GMT 2021


Git commit 8a4927a98c5ef06493fd4c51989b6ddec36343fb by Jonathan Riddell.
Committed on 09/03/2021 at 13:25.
Pushed by jriddell into branch 'Neon/release'.

this gets sound working

M  +9    -0    snapcraft.yaml

https://invent.kde.org/neon/kde/kblocks/commit/8a4927a98c5ef06493fd4c51989b6ddec36343fb

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 66df934..d07e0cc 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -39,6 +39,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:
     kblocks:
         after:
@@ -51,6 +56,9 @@ parts:
         build-environment:
         - CMAKE_BUILD_PARALLEL_LEVEL: "4"
         - VERBOSE: "1"
+        stage-packages:
+        - libasound2-data
+        - libasound2-plugins
         filesets:
             exclusion:
             - "-usr/lib/*/cmake/*"
@@ -64,6 +72,7 @@ parts:
             - "-usr/lib/aspell/*"
         prime:
         - "$exclusion"
+        - "-etc/alsa/conf.d/99-pulse.conf"
         parse-info:
         - usr/share/metainfo/org.kde.kblocks.appdata.xml
         source: http://download.kde.org/stable/release-service/20.12.3/src/kblocks-20.12.3.tar.xz


More information about the Neon-commits mailing list