Are there any godot games that are packaged for Fedora? They recently had people talking about that on a Debian games list. It made me wonder if there is an existing godot game on Fedora. It looks like we have godot-runner package so we should just need the pck file and a dependency to runner. Of course that assuming you don’t have gdnative code.
By packaging I mean rpm. I prefer them over flatpaks.
I guess it is time to just try it out. I’ve created an rpm for Pigeon Ascent.
Source RPM: http://identicalsoftware.com/pigeonascent/pigeonascent-1.5.2-1.fc34.src.rpm
SPEC file: http://identicalsoftware.com/pigeonascent/pigeonascent.spec
It doesn’t popup in list of application when pressing the windows key. I have been unable to get it to update that database. Or maybe it is a problem that there is only a 32x32 image.
I fixed the problem of it not showing up in list of applications. I misunderstood the TryExec entry in the desktop file. I’ve returned with a new rpm. This is for the gdnativegamerzilla plugin. If I’m going to do an article on packaging Godot games, I need to have an answer for gdnative code. The spec file is ugly. I’m open to improvements. The idea is that a game would put it’s pck file in /usr/share/[gamename]. It would create gdnative/linuxbsd in that directory. Then it would have a symlink from /usr/lib64/libgdgamerzilla.so to that directory. At which point you can do:
godot-runner --main-pack [gamename].pck
I’ll probably have a shell script in bin to perform that.
Source RPM: http://identicalsoftware.com/gamerzilla/gdnativegamerzilla-0.1-1.fc34.src.rpm
SPEC file: https://raw.githubusercontent.com/dulsi/gdnativegamerzilla/master/gdnativegamerzilla.spec