Package Details: godot-mono-git 4.1.r3141.gf497156-1

Git Clone URL: (read-only, click to copy)
Package Base: godot-mono-git
Description: An advanced, feature packed, multi-platform 2D and 3D game engine built properly
Upstream URL:
Licenses: MIT
Conflicts: godot-mono
Provides: godot-mono
Submitter: tas
Maintainer: FabioLolix (HurricanePootis)
Last Packager: HurricanePootis
Votes: 5
Popularity: 0.157910
First Submitted: 2021-10-26 08:46 (UTC)
Last Updated: 2023-10-28 03:51 (UTC)

Dependencies (33)

Required by (0)

Sources (1)

Latest Comments

ChiliEater commented on 2024-03-08 13:42 (UTC)

After looking through the PKGBUILD again, I've been able to fix it like this:

@@ -56,7 +56,7 @@ build() {
     builtin_libvorbis=no \
     builtin_libwebp=no \
     builtin_wslay=yes \
-    builtin_mbedtls=no \
+    builtin_mbedtls=yes \
     builtin_miniupnpc=no \
     builtin_pcre2=no \
     builtin_pcre2_with_jit=no \

ChiliEater commented on 2024-03-07 18:40 (UTC) (edited on 2024-03-07 18:42 (UTC) by ChiliEater)

I haven't been able to build this package for a bit more than two weeks. It fails during the initial build:

[Initial build] Compiling modules/mbedtls/packet_peer_mbed_dtls.cpp ...
In file included from modules/mbedtls/dtls_server_mbedtls.h:34,
from modules/mbedtls/dtls_server_mbedtls.cpp:31:
modules/mbedtls/tls_context_mbedtls.h:39:10: fatal error: mbedtls/config.h: No such file or directory
39 | #include <mbedtls/config.h>
|          ^~~~~~~~~~~~~~~~~~
compilation terminated.
scons: *** [modules/mbedtls/dtls_server_mbedtls.linuxbsd.editor.x86_64.o] Error 1

My last successful build is from 02-20 and my next one failed on 02-21 so something must have changed during that. Maybe it's one of the dependencies because I can't find any suspicious commits in that timeframe:

BangL commented on 2023-11-28 16:54 (UTC)


That's somehow rooted in the nature of beeing a git build. While building, you cant know which beta it might be exactly, and it even isnt really exactly beta1 through 5, nor rc1 or rc2.

Its ANY git commit after a specific version. It's not bound to a specific version. In this moment (rc2) it's not even rc2, even if it sais so.. it's in fact a few commits AFTER rc.2, while no line in the code sais that it's rc2, only that it's any rc.

There is no way to fix this 'properly', any try to fix this would just cause more trouble and chaos. As said.. it's basically just a side-effect, related to versioning, in the nature of beeing a git build. The only way to have proper versioning on your build, is building on git tags or stable releases (which non-git packages are for)

Visne commented on 2023-10-18 16:25 (UTC)

This build sets the SDK in the csproj to "Godot.NET.Sdk/4.2.0-beta" on every load, while it should be "Godot.NET.Sdk/4.2.0-beta.1". See this GitHub issue:

LennyPhoenix commented on 2023-03-06 21:47 (UTC)

Hi, I got it working with the latest release.

Here is the diff:

diff --git a/PKGBUILD b/PKGBUILD
index 6719c3b..69a7a4c 100644
@@ -5,23 +5,24 @@

 pkgdesc="Godot Game Engine: An advanced, feature packed, multi-platform 2D and 3D game engine. (C#/Mono integration)"
 arch=('i686' 'x86_64')
 makedepends=('git' 'scons' 'pulseaudio' 'pkgconf' 'xorg-xrandr' 'yasm')                 
-depends=('glu' 'libxcursor' 'libxinerama' 'alsa-lib' 'freetype2' 'mesa' 'mono')
+depends=('glu' 'libxcursor' 'libxinerama' 'alsa-lib' 'freetype2' 'mesa' 'mono' 'dotnet-sdk-6.0' 'msbuild')
 if test "$CARCH" == x86_64; then
-  _arch=('64')
+  _arch=('x86_64')

@@ -56,10 +57,10 @@ pkgver() {
 build() {
     cd "${srcdir}"/${_pkgname}
     sed -n '/\/* Copyright/,/IN THE SOFTWARE./p' main/main.cpp | sed 's/\/\*//' | sed 's/\*\///' > LICENSE
-    scons platform=linuxbsd werror=no tools=yes module_mono_enabled=yes mono_glue=no $MAKEFLAGS
-    ./bin/${_arch}.mono --generate-mono-glue modules/mono/glue
-    scons platform=linuxbsd target=release_debug werror=no tools=yes module_mono_enabled=yes mono_glue=yes $MAKEFLAGS
-    scons platform=linuxbsd target=release_debug werror=no tools=no module_mono_enabled=yes mono_glue=yes $MAKEFLAGS
+    scons platform=linuxbsd werror=no target=editor module_mono_enabled=yes mono_glue=no $MAKEFLAGS
+    ./bin/${_bin} --generate-mono-glue modules/mono/glue
+    ./modules/mono/build_scripts/ --godot-output-dir=./bin --godot-platform=linuxbsd

 package() {
@@ -71,12 +72,11 @@ package() {

     cd "${srcdir}"/${_pkgname}

-    # install -D -m755 bin/${_arch}.mono "${pkgdir}"/usr/bin/godot
-    mkdir "${pkgdir}"/opt
-    mkdir "${pkgdir}"/usr/bin
-    cp -R bin/ "${pkgdir}"/opt/godot-mono
-    chmod -R 755 "${pkgdir}"/opt/godot-mono
-    ln -s /opt/godot-mono/${_arch}.mono "${pkgdir}"/usr/bin/godot-mono
-    install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/godot-mono-git/LICENSE
+    install -D -m755 bin/${_bin} "${pkgdir}"/opt/godot-mono/${_bin}
+    cp -R bin/GodotSharp "${pkgdir}"/opt/godot-mono/GodotSharp
+    mkdir -p "${pkgdir}"/usr/bin
+    ln -s /opt/godot-mono/${_bin} "${pkgdir}"/usr/bin/godot-mono
+    install -D -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/godot-mono-git/LICENSE

nfiss commented on 2022-11-01 12:45 (UTC)

PKGBUILD is incompatible with latest master

You can modify PKGBUILD to reset to an older commit before building, though. I found that alpha 12 still works, but 15 doesn't, didn't try 13/14.

alpha 12 commit hash 2c11e6d9efc42370a8d7537eaff8b1ea78a283e5

artfox3 commented on 2022-05-28 19:26 (UTC) (edited on 2022-05-28 19:31 (UTC) by artfox3)

I get this error when compiling:

RuntimeError: Cannot find MSBuild executable
scons: building terminated because of errors.
[Time elapsed: 00:00:05.641]
 ==> ERROR: A failure occurred in build().
error: failed to build 'godot-mono-git-4.0.r1.897afb6-1': 
error: packages failed to build: godot-mono-git-4.0.r1.897afb6-1

newfoldergames commented on 2021-11-06 12:00 (UTC)

Dear tas,

After compiling, I get this error.

Ranlib Library         ==> core/
[Initial build] Linking Program        ==> bin/
[Initial build] scons: done building targets.
[Time elapsed: 00:05:50.925]
/home/newfolder/.cache/yay/godot-mono-git/PKGBUILD: line 60: ./bin/ No such file or directory
==> ERROR: A failure occurred in build().
 -> error making: godot-mono-git

I tried modifying PKGBUILD file, but it does not seem to work either.