[neon/kde/kpat/Neon/release] /: alsa

Jonathan Riddell null at kde.org
Thu Mar 25 13:17:55 GMT 2021


Git commit 3f8d85c9287f19b2bca49e6421dbea3a7b5b2cbb by Jonathan Riddell.
Committed on 25/03/2021 at 13:17.
Pushed by jriddell into branch 'Neon/release'.

alsa

M  +9    -2    snapcraft.yaml

https://invent.kde.org/neon/kde/kpat/commit/3f8d85c9287f19b2bca49e6421dbea3a7b5b2cbb

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 8d18320..de001f9 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:
     kpat:
         parse-info:
@@ -51,12 +57,12 @@ parts:
         build-environment:
         - CMAKE_BUILD_PARALLEL_LEVEL: "4"
         build-packages:
-        - libkf5kdegames-dev
         - libfreecell-solver-dev
         stage-packages:
-        - libkf5kdegames-dev
         - libfreecell-solver-dev
         - kdegames-card-data-kf5
+        - libasound2-data
+        - libasound2-plugins
         source: http://download.kde.org/stable/release-service/20.12.3/src/kpat-20.12.3.tar.xz
         cmake-parameters:
         - "-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
@@ -79,6 +85,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