You are not logged in.
Hi! I hope that you are doing absolutely fine!
I recently had issues with upstream defaulting to SSE4.2 from the godot 4.5 release. And I had tried to patch out the SSE4.2 requirement, and ensure a 64 bit binary (I have a forum post and a github repository. It failed (Later in the same github repo, I had tried to compile for 32 bit).
I then tried to compile it for 32-bit on a separate repository. I used the PKGBUILD from the official maintainers of the godot package. I then made modifications to use lib32 versions of libraries that are available in multilib (Surprisingly, 8 libs didn't have 32bit.). Some other optimizations like using mold for faster builds, turning off debug symbols (maybe not ideal, but I was testing at that point, and I am open for change).
I then used github actions to compile it, as my PC is too weak (I will add specs at the last of the post). Surprisingly, the binary so-produced worked properly, a huge achievement for me.
Now I want to post it on the AUR as a package named godot32 (or any naming convention that you suggest, that would signal this is 32bit). I think having it separate from 64bit godot would be ideal? As people would be able to have both installed? Like they can type godot in the terminal for 64-bit and godot32 for 32-bit (I haven't yet implemented this, I want advice first).
Also this PKGBUILD doesn't seem to be very AUR specific, I would love to improve it by suggestions, also please be a little patient, It's my first time trying to create a package (I do believe I have not handled licensing properly). Also I guess some files are redundant and can be removed.
Links-
Github page
Releases
PC Specs, as promised
Intel Core2 Quad, Q9550
4GB DDR2 800MT/s Dual Channel # Main limiting factor.
GT 740
PS- I just wanted to get some suggestions before posting it on the AUR. I have utilized AI for this task, so there might be some inefficiencies, but it works really well on my side.
Last edited by LinuxLover471 (2025-10-08 00:12:36)
Offline
I finally created the package, here it is.
Please look if anything can be improved, I don't think, and I have tried to adhere to all AUR guidelines.
Now I will add a godot32-bin when I get the time.
Thank you.
PS What should I name the package in which I ship my own prebuilt binary than the provided by upstream?
Last edited by LinuxLover471 (2025-10-09 15:43:44)
Offline