Open xordspar0 opened 6 years ago
With the release of LÖVE 11, the upstream developers give us a tarball to download that contains all of the dependencies, so packaging LÖVE games for Linux is much easier. I got around this problem by downloading the tarball and simply doing
stage:
- usr/lib
in the love part. No stage packages are necessary, and there's no liblove part.
Hey @xordspar0 , do you have a current snap template for Love 11.2 ?
I haven't used it in a while, and it doesn't quite work, but it's close. This might set you down the right path: snapcraft.yaml.template
I would set the generate the actual snapcraft.yaml file using a script that was pretty specific to my game, but it might give you some ideas: package-linux-snap.sh
For my own LÖVE game, I'm use the same technique that you do to install love and liblove, but I haven't been able to get the liblove part to build, presumably because of the symbolic link?
Is this because snapcraft has changed and this pattern is no longer valid, or is it a bug in snapcraft?