godot: rebuild for mbedtls-3.6.0

fixes d40828514a (broke build for
non-x86_64* aarch64*, where embree is not available)
This commit is contained in:
classabbyamp 2024-08-12 14:43:34 -04:00 committed by classabbyamp
parent 5a37652f4e
commit 5862c0b0b6
1 changed files with 13 additions and 3 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'godot'
pkgname=godot
version=4.3
revision=3
revision=4
archs="x86_64* i686* aarch64* armv7* ppc64*"
build_style=scons
make_build_args="platform=linuxbsd target=editor progress=no production=yes
lto=auto builtin_brotli=false builtin_embree=false builtin_enet=false
lto=auto builtin_brotli=false builtin_enet=false
builtin_freetype=false builtin_graphite=false builtin_harfbuzz=false
builtin_icu4c=false builtin_libogg=false builtin_libpng=false
builtin_libtheora=false builtin_libvorbis=false builtin_libwebp=false
@ -17,7 +17,7 @@ makedepends="alsa-lib-devel freetype-devel mesa glu-devel libXcursor-devel
libpng-devel libwebp-devel libogg-devel libtheora-devel libvorbis-devel
libenet-devel zlib-devel mbedtls-devel miniupnpc-devel pcre2-devel
pulseaudio-devel graphite-devel harfbuzz-devel libzstd-devel
speech-dispatcher-devel brotli-devel icu-devel embree-devel"
speech-dispatcher-devel brotli-devel icu-devel"
depends="speech-dispatcher"
short_desc="Multiplatform 2D and 3D engine"
maintainer="dataCobra <datacobra@thinkbot.de>"
@ -43,6 +43,16 @@ case "$XBPS_TARGET_MACHINE" in
ppc64*) arch="ppc64" ;;
esac
case "$XBPS_TARGET_MACHINE" in
x86_64*|aarch64*)
make_build_args+=" builtin_embree=false"
makedepends+=" embree-devel"
;;
*)
make_build_args+=" builtin_embree=true"
;;
esac
make_build_args+=" arch=$arch"
pre_build() {