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

Git Clone URL: https://aur.archlinux.org/godot-mono-git.git (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: https://godotengine.org/
Licenses: MIT
Conflicts: godot-mono
Provides: godot-mono
Submitter: tas
Maintainer: FabioLolix (HurricanePootis)
Last Packager: HurricanePootis
Votes: 5
Popularity: 0.43
First Submitted: 2021-10-26 08:46 (UTC)
Last Updated: 2023-10-28 03:51 (UTC)

Latest Comments

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

@Visne

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: https://github.com/godotengine/godot/issues/78527

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,23 +5,24 @@

 _pkgname=godot
 pkgname=${_pkgname}-mono-git
-pkgver=4.0.r1.897afb6
+pkgver=4.1.r1.5f2137a
 pkgrel=1
 pkgdesc="Godot Game Engine: An advanced, feature packed, multi-platform 2D and 3D game engine. (C#/Mono integration)"
 url="http://www.godotengine.org"
 license=('MIT')
 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')
 optdepends=()
 conflicts=("godot-mono")
 provides=("godot-mono")
 _arch=''
 if test "$CARCH" == x86_64; then
-  _arch=('64')
+  _arch=('x86_64')
 else
   _arch=('32')
 fi
+_bin="godot.linuxbsd.editor.${_arch}.mono"

 source=(
        godot-mono.desktop
@@ -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/godot.linuxbsd.tools.${_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/build_assemblies.py --godot-output-dir=./bin --godot-platform=linuxbsd
 }

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

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

-    # install -D -m755 bin/godot.linuxbsd.opt.tools.${_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/godot.linuxbsd.opt.tools.${_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().
 Aborting...
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/libcore.linuxbsd.tools.64.a
[Initial build] Linking Program        ==> bin/godot.linuxbsd.tools.64.mono
[Initial build] scons: done building targets.
[Time elapsed: 00:05:50.925]
/home/newfolder/.cache/yay/godot-mono-git/PKGBUILD: line 60: ./bin/godot.linuxbsd.opt.tools.64.mono: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: godot-mono-git

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