FS#77491 - [godot] offer mono support
Attached to Project:
Community Packages
Opened by hurricane pootis (HurricanePootis) - Tuesday, 14 February 2023, 00:41 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:09 GMT
Opened by hurricane pootis (HurricanePootis) - Tuesday, 14 February 2023, 00:41 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:09 GMT
|
Details
Description:
It would be really cool if the official Arch Linux godot package could offer mono support by default. I have modified the original PKGBUILD and made it compile in mono support seamlessly. Godot with mono functionally works the same as normal godot. Of course, since godot-mono requires godot to be installed into /opt, you will have to have a bash script to launcher godot. But, I have tested this bash script (super simple), and it works flawlessly with the .desktop file and command line. I have attached the bash script and .patch file to this task. I hope you find my contribution well suited! |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:09 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/godot/issues/1
Saturday, 25 November 2023, 20:09 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/godot/issues/1
As long as introducing an /opt directory + a wrapper script + depending on dotnet-sdk is needed, I think a separate godot-mono package might be better.
I also think that it's a slight disadvantage to need to depend on nuget, xorg-server-xvfb and python at build time.
C# is used a lot for game development, though, so it's probably a good idea to support it sooner or later (unless we as a community wish to promote GDScript instead).
I'll think about what to do some more.
It's getting late here now, so I'll examine this further some other day. 'module_mono_enabled=no' might need to be added to the first list of scons configuration values and 'mono-msbuild' might need to be added as to the depends array in package_godot-mono. Input on this is welcome.
I'll try the "--generate-mono-glue" trick that the godot-mono-git package is using.