I’ve written documentation at https://snapcraft-alsa.readthedocs.io/en/latest/. You have two options:
- Copy the required yaml into your
snapcraft.yaml
manually - Convert to using jsonnet to build your
snapcraft.yaml
and use the alsa-lib jsonnet extension. Compile your jsonnet to yaml using my sc-jsonnet utility.