That would be great.
If you try it out then I suggest you use the release tag 3.0.1 on GitHub i.e. https://github.com/samaaron/sonic-pi/tree/v3.0.1 as the source. Sam has already moved the latest commits onto 3.1dev and there has been a significant change to the layout of the folders and a requirement for scsynth 3.9, both of which alter the build process. Better to have everyone with the latest release version at present.
I’d love to see something like this happen - especially if it can make releasing for and supporting multiple Linux distros more feasible than it currently is.
The main issue right now is configuring the audio stack. Jack in particular seems to be a bit tricksy depending on which way the wind is blowing and the current phase of the moon…
Robin is correct that the latest master commit on GitHub requires SuperCollider v3.9-beta - which I assume there’s no package for at this stage. However, if it’s possible to package apps using snap ion a similar way than macOS and Windows - it might be much easier to just increase the package size and ship with a SuperCollider binary in the release itself. Sonic Pi makes it pretty easy to do exactly that (and also for any of the other binary dependencies such as Erlang and Ruby).
I would like to help with this if possible. Snap (as I understand it) uses containers like Docker under the hood and my recent experience with getting Sonic Pi running in Docker might help.
I have tried but it’s a lot of work. It’s still in my mind to do but I’d appreciate all the help I can get.
In particular if any Linux users want to try packaging some dependencies on Sonic Pi into a snap package that should make it easier to piece things together, for example making a standalone snap for SuperCollider
Hey! This has been crossing my mind as a personal project lately. It looks like snap has gotten some major usability upgrades since this thread was running and I figured this would be a the perfect existing project to see if I can get working. I’ll let y’all know what I find.