media-libs/libsdl: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz 2025-05-06 13:00:40 -04:00
parent 300e466631
commit 0c9b2c7fc1
No known key found for this signature in database
GPG Key ID: 84A7D12B700D2F57

View File

@ -1,9 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake-multilib
inherit cmake-multilib dot-a
DESCRIPTION="Simple Direct Media Layer 1.2 compatibility wrapper around SDL2"
HOMEPAGE="https://github.com/libsdl-org/sdl12-compat"
@ -37,9 +37,15 @@ DEPEND="
"
src_configure() {
lto-guarantee-fat
local mycmakeargs=(
-DSDL12TESTS=$(usex test)
)
cmake-multilib_src_configure
}
src_install() {
cmake-multilib_src_install
strip-lto-bytecode
}