dev-util/directx-headers: use dot-a.eclass

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

Closes: https://bugs.gentoo.org/958348
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz 2025-07-23 20:19:25 -04:00
parent daa0ed2939
commit d6456aedc6
No known key found for this signature in database
GPG Key ID: 84A7D12B700D2F57
2 changed files with 19 additions and 3 deletions

View File

@ -4,7 +4,7 @@
EAPI=8
MY_PN=DirectX-Headers
inherit meson-multilib
inherit dot-a meson-multilib
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/microsoft/${MY_PN}.git"
@ -22,9 +22,17 @@ LICENSE="MIT"
SLOT="0"
multilib_src_configure() {
lto-guarantee-fat
local emesonargs=(
-Dbuild-test=false
)
meson_src_configure
}
multilib_src_install_all() {
strip-lto-bytecode
einstalldocs
}

View File

@ -1,10 +1,10 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN=DirectX-Headers
inherit meson-multilib
inherit dot-a meson-multilib
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/microsoft/${MY_PN}.git"
@ -22,9 +22,17 @@ LICENSE="MIT"
SLOT="0"
multilib_src_configure() {
lto-guarantee-fat
local emesonargs=(
-Dbuild-test=false
)
meson_src_configure
}
multilib_src_install_all() {
strip-lto-bytecode
einstalldocs
}