Description
This is something I've been considering for a while. Since some linux distros doesn't have all versions of Lua in their repositories (see Fedora and openSUSE) or the user is on Windows, building this project can be a bit hard or may require to modify the meson.build files to work.
So, to solve this I have a couple of ideas:
- Create a Meson .wrap file and make Lua a dependency of this project
- Use minilua
- Something else (a custom solution)
I already tried the first one, but... It was more complicated than I expected so I never continued; plus, I never uploaded the changes made, but I'm still considering that option.
The 2nd options looks better tho, but it's only Lua 5.4, but the solution that proposes minilua is pretty smart (IMO) and very simple.
To be honest, I'll probably use the minilua solution, but custom: I'll take the gen.sh script from minilua to generate C headers for all major Lua versions.
Hopefully, I'll fix this soon. I'm gonna update this issue with a task list if I make some progress.
-
Translate Lua 5.4 Makefile to Meson. Done, see Translate Lua 5.4 Makefile to Meson #3 - Add support for Lua 5.1, 5.2 and 5.3
- Maybe test it a little and ensure it works?