[neon/kde/bomber/Neon/release] /: fix sound

Jonathan Riddell null at kde.org
Tue Mar 9 13:27:40 GMT 2021


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

fix sound

M  +12   -0    snapcraft.yaml

https://invent.kde.org/neon/kde/bomber/commit/c12d61a389ecb377ca5cd8481e446cba16d46aaf

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 2722955..971d494 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -38,6 +38,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:
     bomber:
         build-snaps:
@@ -48,6 +53,12 @@ parts:
         source: http://download.kde.org/stable/release-service/20.12.3/src/bomber-20.12.3.tar.xz
         build-packages:
         - libkf5doctools-dev
+        build-environment:
+        - CMAKE_BUILD_PARALLEL_LEVEL: "4"
+        - VERBOSE: "1"
+        stage-packages:
+        - libasound2-data
+        - libasound2-plugins
         cmake-parameters:
         - "-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
         - "-DCMAKE_INSTALL_PREFIX=/usr"
@@ -71,6 +82,7 @@ parts:
             - "-usr/lib/aspell/*"
         prime:
         - "$exclusion"
+        - "-etc/alsa/conf.d/99-pulse.conf"
     kde-frameworks-5-env:
         filesets:
             exclusion:


More information about the Neon-commits mailing list