From ca20e2a3411766d3ece12df8525c4fc3e722ad5d Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Fri, 27 Mar 2026 10:07:51 -0300 Subject: [PATCH] build/linux: Add MIDI (ALSA) support to Snap package --- build/linux/snap/snapcraft.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/linux/snap/snapcraft.yaml b/build/linux/snap/snapcraft.yaml index 42eff2aca9..1bfb54d817 100644 --- a/build/linux/snap/snapcraft.yaml +++ b/build/linux/snap/snapcraft.yaml @@ -38,6 +38,7 @@ apps: - home - network - removable-media + - alsa - intel-npu - npu-libs - gimp-plugins @@ -53,6 +54,9 @@ layout: bind: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/babl-0.1 /usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gegl-0.4: bind: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/gegl-0.4 + #MIDI support + /usr/share/alsa: + bind: $SNAP/gnome-platform/usr/share/alsa slots: dbus-gimp: @@ -184,6 +188,7 @@ parts: - flex - libaa1-dev #FIXME: https://github.com/ubuntu/gnome-sdk/issues/322 - libarchive-dev #FIXME: https://github.com/ubuntu/gnome-sdk/issues/318 + - libasound2-dev #FIXME: https://github.com/ubuntu/gnome-sdk/issues/355 - libcfitsio-dev #FIXME: https://github.com/ubuntu/gnome-sdk/issues/320 - libexpat1-dev #it is on Gnome SDK Snap but inexplicably the linker can't find it - libgexiv2-dev