From 51885cb5dee0c49d4b39b93af423de5a764786c0 Mon Sep 17 00:00:00 2001 From: BeedPro Date: Tue, 14 Jul 2026 01:56:55 +0100 Subject: [PATCH] godot: update to 4.7. --- common/shlibs | 1 + srcpkgs/godot/patches/harfbuzz-raster.patch | 11 +++++++++++ srcpkgs/godot/template | 8 ++++---- 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/godot/patches/harfbuzz-raster.patch diff --git a/common/shlibs b/common/shlibs index 9ca69d388f6a22..6da8d94a9c9ce4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1147,6 +1147,7 @@ librygel-server-2.8.so.0 librygel-0.42.0_1 librygel-db-2.8.so.0 librygel-0.42.0_1 libharfbuzz.so.0 libharfbuzz-5.1.0_1 libharfbuzz-icu.so.0 libharfbuzz-5.1.0_1 +libharfbuzz-raster.so.0 libharfbuzz-14.2.1_1 libharfbuzz-subset.so.0 libharfbuzz-5.1.0_1 libharfbuzz-gobject.so.0 libharfbuzz-5.1.0_1 libharfbuzz-cairo.so.0 libharfbuzz-7.1.0_1 diff --git a/srcpkgs/godot/patches/harfbuzz-raster.patch b/srcpkgs/godot/patches/harfbuzz-raster.patch new file mode 100644 index 00000000000000..67ddadddfba6aa --- /dev/null +++ b/srcpkgs/godot/patches/harfbuzz-raster.patch @@ -0,0 +1,11 @@ +--- a/platform/linuxbsd/detect.py ++++ b/platform/linuxbsd/detect.py +@@ -256,7 +256,7 @@ def configure(env: "SConsEnvironment"): + env.ParseConfig("pkg-config icu-i18n icu-uc --cflags --libs") + + if not env["builtin_harfbuzz"]: +- env.ParseConfig("pkg-config harfbuzz harfbuzz-icu --cflags --libs") ++ env.ParseConfig("pkg-config harfbuzz harfbuzz-icu harfbuzz-raster --cflags --libs") + + if not env["builtin_icu4c"] or not env["builtin_harfbuzz"]: + print_warning( diff --git a/srcpkgs/godot/template b/srcpkgs/godot/template index c25131b1a868af..be20ef7effbe2a 100644 --- a/srcpkgs/godot/template +++ b/srcpkgs/godot/template @@ -1,6 +1,6 @@ # Template file for 'godot' pkgname=godot -version=4.6.2 +version=4.7 revision=1 archs="x86_64* i686* aarch64* armv7* ppc64*" build_style=scons @@ -22,7 +22,7 @@ maintainer="zenobit " license="MIT" homepage="https://www.godotengine.org/" distfiles="https://github.com/godotengine/godot/archive/${version}-stable.tar.gz" -checksum=908b759e7517fec65d687b3d468cd639fd8967d25da1522ef8a2087af638b3fe +checksum=5960084fce0934dfa68acd26df1103385cf3675d0de2b5124922d3cae602bf1c nocross=https://build.voidlinux.org/builders/armv7l_builder/builds/6342/steps/shell_3/logs/stdio CFLAGS+=" -fPIE -fPIC" @@ -34,7 +34,7 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then fi case "$XBPS_TARGET_MACHINE" in - i686*) arch="x86_32" ;; + i686*) arch="x86_32"; make_build_args="${make_build_args/lto=auto/lto=none}" ;; x86_64*) arch="x86_64" ;; aarch64*) arch="arm64" ;; armv7*) arch="arm32" ;; @@ -82,7 +82,7 @@ do_install() { vlicense LICENSE.txt vinstall misc/dist/linux/org.godotengine.Godot.desktop 644 usr/share/applications/ - vinstall icon.png 644 usr/share/pixmaps/ godot.png + vinstall misc/logo/icon.png 644 usr/share/pixmaps/ godot.png case "$XBPS_TARGET_MACHINE" in x86_64*) vbin bin/godot.linuxbsd.editor.x86_64 godot;;