[neon/kde/kapman/Neon/release] /: add alsa bits

Jonathan Riddell null at kde.org
Thu Mar 18 11:46:46 GMT 2021


Git commit 95da66a266347a18d14e4efe03f20119673e1f99 by Jonathan Riddell.
Committed on 18/03/2021 at 11:46.
Pushed by jriddell into branch 'Neon/release'.

add alsa bits

M  +10   -0    snapcraft.yaml

https://invent.kde.org/neon/kde/kapman/commit/95da66a266347a18d14e4efe03f20119673e1f99

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 678d561..376d951 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:
     kapman:
         parse-info:
@@ -54,8 +60,11 @@ parts:
         - libkf5kdegames-dev
         - libphonon4qt5-dev
         - libphonon4qt5experimental-dev
+        - libkf5doctools-dev
         stage-packages:
         - libkf5kdegames7
+        - libasound2-data
+        - libasound2-plugins
         source: http://download.kde.org/stable/release-service/20.12.3/src/kapman-20.12.3.tar.xz
         cmake-parameters:
         - "-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
@@ -78,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