Fix mbedtls building

This commit is contained in:
HurricanePootis 2023-08-16 18:08:27 -05:00
parent e7002af8e9
commit e0bdf3b5d0
2 changed files with 4 additions and 5 deletions

View file

@ -10,7 +10,7 @@ pkgbase = godot3
makedepends = yasm
makedepends = alsa-lib
makedepends = pulseaudio
depends = embree
depends = embree3
depends = freetype2
depends = libglvnd
depends = libtheora
@ -23,7 +23,6 @@ pkgbase = godot3
depends = libxi
depends = libxinerama
depends = libxrandr
depends = mbedtls
depends = miniupnpc
depends = opusfile
optdepends = pipewire-alsa

View file

@ -15,8 +15,8 @@ url='https://godotengine.org'
license=(MIT)
arch=(x86_64)
makedepends=(gcc scons yasm alsa-lib pulseaudio)
depends=(embree freetype2 libglvnd libtheora libvorbis libvpx libwebp libwslay
libsquish libxcursor libxi libxinerama libxrandr mbedtls miniupnpc opusfile)
depends=(embree3 freetype2 libglvnd libtheora libvorbis libvpx libwebp libwslay
libsquish libxcursor libxi libxinerama libxrandr miniupnpc opusfile)
optdepends=(pipewire-alsa pipewire-pulse)
source=("$_pkgname-$pkgver.tar.gz::https://github.com/godotengine/godot/archive/$pkgver-stable.tar.gz"
"godot3.patch")
@ -39,7 +39,7 @@ build() {
# enet (contains no upstreamed IPv6 support)
# recast, xatlas
# AUR: libwebm
local to_unbundle="embree freetype libogg libpng libsquish libtheora libvorbis libvpx libwebp mbedtls miniupnpc opus pcre2 wslay zlib zstd"
local to_unbundle="embree freetype libogg libpng libsquish libtheora libvorbis libvpx libwebp miniupnpc opus pcre2 wslay zlib zstd"
local system_libs=""
for _lib in $to_unbundle; do
system_libs+="builtin_"$_lib"=no "