commit:     3499e4759e4b2e181fc789227cf60b55bc4b9a5b
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  6 00:54:26 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 01:21:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3499e475

dev-games/godot: define mbedtls slot

No need for a revbump given the previous upper bound accomplished
the same job and this is a long rebuild, this is just about showing
slot awareness.

On a side-note, when we want to use mbedtls:3, will likely need to
update detect.py to use the new pkg-config files.

Per ebuild comment, also note that this currently bundles mbedtls3
but builds it differently than system's which is currently required
for compatibility. So using 3 is not an option at the moment either
way unless we switch to bundled, if support for 2 is dropped and that
is not resolved we may need to go ahead and use bundled.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-games/godot/godot-4.3-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-games/godot/godot-4.3-r1.ebuild 
b/dev-games/godot/godot-4.3-r1.ebuild
index 0bf48fbd9cbf..d9431e841a81 100644
--- a/dev-games/godot/godot-4.3-r1.ebuild
+++ b/dev-games/godot/godot-4.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -37,6 +37,7 @@ RESTRICT="test"
 # builds it #undef MBEDTLS_SSL_PROTO_TLS1_3 + a patch or else will get
 # "ERROR: TLS handshake error: -27648" with system's on startup
 # https://github.com/godotengine/godot/commit/40fa684c181d
+# (detect.py also needs to use mbedtls3.pc to find slotted mbedtls:3)
 # dlopen: libglvnd
 RDEPEND="
        app-arch/brotli:=
@@ -49,7 +50,7 @@ RDEPEND="
        media-libs/libogg
        media-libs/libpng:=
        media-libs/libvorbis
-       <net-libs/mbedtls-3:=
+       net-libs/mbedtls:0=
        net-libs/wslay
        sys-libs/zlib:=
        alsa? ( media-libs/alsa-lib )

Reply via email to