mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user