git: d51054ca6e2d - main - devel/godot: Improve port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Feb 2026 16:09:06 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d51054ca6e2d6e5be4f004c728d67750e8c12668
commit d51054ca6e2d6e5be4f004c728d67750e8c12668
Author: Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-02-12 14:10:21 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-02-12 16:07:34 +0000
devel/godot: Improve port
- Refresh patch patch-platform__methods.py
- Correct the patch name patch-thirdparty_linuxbsd__headers_udev_libudev.h
- Remove unused dependency from multimedia/libvpx.
- Enable opengl3 support.
- Explicit enable use_sowrap - dynamically load system libraries.
- Explicit enable dynamically load dbus if installed.
PR: 288408
Tested by: Sure Beae <sure@disroot.org>
Approved by: Shane <FreeBSD@ShaneWare.Biz> (maintainer, timeout 6 months)
---
devel/godot/Makefile | 7 ++++---
devel/godot/files/patch-platform__methods.py | 6 +++---
...libudev.h => patch-thirdparty_linuxbsd__headers_udev_libudev.h} | 0
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/devel/godot/Makefile b/devel/godot/Makefile
index 5bcbb7aba72e..0cca61ce80f9 100644
--- a/devel/godot/Makefile
+++ b/devel/godot/Makefile
@@ -19,8 +19,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \
libharfbuzz-icu.so:print/harfbuzz-icu \
libharfbuzz.so:print/harfbuzz \
libpcre2-32.so:devel/pcre2 \
- libpng.so:graphics/png \
- libvpx.so:multimedia/libvpx
+ libpng.so:graphics/png
RUN_DEPENDS= xdg-open:devel/xdg-utils \
xdg-user-dir:devel/xdg-user-dirs \
xmessage:x11/xmessage
@@ -32,13 +31,15 @@ GH_ACCOUNT= godotengine
USE_GL= gl glew glu
MAKE_ARGS+= platform=linuxbsd \
+ dbus=True \
builtin_freetype=False \
builtin_graphite=False \
builtin_harfbuzz=False \
builtin_libpng=False \
- builtin_libvpx=False \
builtin_pcre2=False \
builtin_zlib=False \
+ opengl3=True \
+ use_sowrap=True \
verbose=True \
${MAKE_ARGS_${CHOSEN_COMPILER_TYPE}}
MAKE_ARGS_clang= use_llvm=True
diff --git a/devel/godot/files/patch-platform__methods.py b/devel/godot/files/patch-platform__methods.py
index 64c80e5cfd71..daa296c2438a 100644
--- a/devel/godot/files/patch-platform__methods.py
+++ b/devel/godot/files/patch-platform__methods.py
@@ -1,6 +1,6 @@
---- platform_methods.py.orig 2023-03-23 23:40:42 UTC
+--- platform_methods.py.orig 2025-03-25 23:11:16 UTC
+++ platform_methods.py
-@@ -92,6 +92,9 @@ architecture_aliases = {
+@@ -28,6 +28,9 @@ architecture_aliases = {
"rv": "rv64",
"riscv": "rv64",
"riscv64": "rv64",
@@ -10,7 +10,7 @@
"ppcle": "ppc32",
"ppc": "ppc32",
"ppc64le": "ppc64",
-@@ -99,7 +102,7 @@ def detect_arch():
+@@ -36,7 +39,7 @@ def detect_arch():
def detect_arch():
diff --git a/devel/godot/files/patch-thirdparty_linuxbsd_headers_udev_libudev.h b/devel/godot/files/patch-thirdparty_linuxbsd__headers_udev_libudev.h
similarity index 100%
rename from devel/godot/files/patch-thirdparty_linuxbsd_headers_udev_libudev.h
rename to devel/godot/files/patch-thirdparty_linuxbsd__headers_udev_libudev.h