commit:     fd42e686491a13a0829d47bbe34cb9206b78c204
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri May 23 11:09:42 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri May 23 11:13:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd42e686

dev-games/godot: update for renamed mbedtls:3 .pc files

Haven't tested a full build, but -I is being added again
so it should hopefully be fine.

Was thinking to make it work with old mbedlts3.pc too, but
simpler to just add a lower bound to get mbedtls-3.pc.

Closes: https://bugs.gentoo.org/956485
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-games/godot/godot-4.4.1.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-games/godot/godot-4.4.1.ebuild 
b/dev-games/godot/godot-4.4.1.ebuild
index 522b758d8aeb..28158f8627db 100644
--- a/dev-games/godot/godot-4.4.1.ebuild
+++ b/dev-games/godot/godot-4.4.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..13} )
 inherit desktop python-any-r1 flag-o-matic scons-utils
 inherit shell-completion toolchain-funcs xdg
 
@@ -44,7 +44,7 @@ RDEPEND="
        media-libs/libogg
        media-libs/libpng:=
        media-libs/libvorbis
-       net-libs/mbedtls:3=
+       >=net-libs/mbedtls-3.6.2-r101:3=
        net-libs/wslay
        sys-libs/zlib:=
        alsa? ( media-libs/alsa-lib )
@@ -92,8 +92,8 @@ PATCHES=(
 src_prepare() {
        default
 
-       # mbedtls normally has mbedtls.pc, but Gentoo's slotted one is 
mbedtls3.pc
-       sed -E "/pkg-config/s/(mbedtls|mbedcrypto|mbedx509)/&3/g" \
+       # mbedtls normally has mbedtls.pc, but Gentoo's slotted one is 
mbedtls-3.pc
+       sed -E "/pkg-config/s/(mbedtls|mbedcrypto|mbedx509)/&-3/g" \
                -i platform/linuxbsd/detect.py || die
 
        sed -i "s|pkg-config |$(tc-getPKG_CONFIG) |" 
platform/linuxbsd/detect.py || die

Reply via email to