dev-util/vulkan-utility-libraries: use dot-a.eclass

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

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-06-21 06:34:30 +01:00
parent c98c0fdfc6
commit 368991807b
2 changed files with 22 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ EAPI=8
MY_PN=Vulkan-Utility-Libraries
PYTHON_COMPAT=( python3_{11..14} )
PYTHON_REQ_USE="xml(+)"
inherit cmake-multilib python-any-r1
inherit cmake-multilib dot-a python-any-r1
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
@@ -37,9 +37,19 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.4.313.0-magic_enum-0.9.7.patch
)
src_configure() {
lto-guarantee-fat
multilib-minimal_src_configure
}
multilib_src_configure() {
local mycmakeargs=(
-DBUILD_TESTS=$(usex test ON OFF)
)
cmake_src_configure
}
multilib_src_install_all() {
einstalldocs
strip-lto-bytecode
}

View File

@@ -6,7 +6,7 @@ EAPI=8
MY_PN=Vulkan-Utility-Libraries
PYTHON_COMPAT=( python3_{11..14} )
PYTHON_REQ_USE="xml(+)"
inherit cmake-multilib python-any-r1
inherit cmake-multilib dot-a python-any-r1
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
@@ -37,9 +37,19 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.4.313.0-magic_enum-0.9.7.patch
)
src_configure() {
lto-guarantee-fat
multilib-minimal_src_configure
}
multilib_src_configure() {
local mycmakeargs=(
-DBUILD_TESTS=$(usex test ON OFF)
)
cmake_src_configure
}
multilib_src_install_all() {
einstalldocs
strip-lto-bytecode
}