[neon/snap-packaging/elisa-snap] /: Revert "asond.conf is already generated, kf6 runtime needs updated so it isn't"

Scarlett Moore null at kde.org
Wed Jun 26 14:57:10 BST 2024


Git commit 742f17067d54592ba35d9a75da685e308df15dda by Scarlett Moore.
Committed on 26/06/2024 at 13:56.
Pushed by scarlettmoore into branch 'master'.

Revert "asond.conf is already generated, kf6 runtime needs updated so it isn't"

This reverts commit a9a717c4c5d09bceed92e2d230aeac4214bebd13.

M  +19   -0    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/elisa-snap/-/commit/742f17067d54592ba35d9a75da685e308df15dda

diff --git a/snapcraft.yaml b/snapcraft.yaml
index ce6c129..fa8b682 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -151,6 +151,25 @@ parts:
         - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libspeex*
         - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libvorbis*
         - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
+    alsa-pulseaudio:
+        plugin: dump
+        source: .
+        override-pull: |
+            mkdir etc -p
+            cat > etc/asound.conf <<EOF
+            pcm.!default {
+                type pulse
+                fallback "sysdefault"
+                hint {
+                    show on
+                    description "Default ALSA Output (currently PulseAudio Sound Server)"
+                }
+            }
+            ctl.!default {
+                type pulse
+                fallback "sysdefault"
+            }
+            EOF
     cleanup:
         after:
         - elisa



More information about the Neon-commits mailing list