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

View file

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