godot

Edit Package godot

Godot is a fully featured, open source, MIT licensed, game engine. It focuses on having great tools, and a visual oriented workflow that can export to PC, Mobile and Web platforms with no hassle. The editor, language and APIs are feature rich, yet simple to learn, allowing you to become productive in a matter of hours.

Refresh
Refresh
Source Files
Filename Size Changed
_constraints 0000000393 393 Bytes
godot-4.2-stable.tar.xz 0026673572 25.4 MB
godot-4.2-stable.tar.xz.sha256 0000000090 90 Bytes
godot.changes 0000064045 62.5 KB
godot.spec 0000014352 14 KB
improve_linker_detection.patch 0000001672 1.63 KB
Revision 73 (latest revision is 81)
c unix's avatar c unix (cunix) accepted request 1130331 from c unix's avatar c unix (cunix) (revision 73)
Update to 4.2
Comments 1

Jon Brightwell's avatar

I had a quick go at getting mono/C# built with this. I got the glue built fine and even grabbed msbuild from mono:factory. The sticking point was nuget. Maybe we can use a precompiled version from nuget's website and do

SourceX:nuget.exe

alias nuget="mono nuget.exe"

as per https://docs.microsoft.com/en-us/nuget/install-nuget-client-tools

Second consideration is that msbuild is also a hack job and is a recompile of the centos build.

https://build.opensuse.org/package/show/Mono:Factory/msbuild

I don't think that has a hope in hell of getting into factory but may only be needed for the build. To unravel MS's mess so that it can be securely built is probably too much work if it's a "requires".

If you're building godot with c# support, hopefully the above will give you a good starting place. Effectively the changes were only...

BuildRequires:  pkgconfig(mono)
BuildRequires:  pkgconfig(monosgen-2)
BuildRequires:  msbuild


# Build temp mono glue binary (removed extra build args to prevent seg fault)
scons %{?_smp_mflags} progress=yes verbose=yes $system_libs platform=server tools=yes module_mono_enabled=yes mono_glue=no

# Build mono glue with bin/godot_server.x11.tools.64.mono
./bin/%{name}_server.x11.tools.%{__isa_bits}.mono --generate-mono-glue modules/mono/glue

#then the editors etc with module_mono_enabled=yes appended

that got me as far as the nuget error when the editor was building after this part.

openSUSE Build Service is sponsored by