media-libs/mesa: Fix panfrost cross compilation

panfrost requires a precomp-compiler during the build which will be
built in dev-util/mesa_clc[video_cards_panfrost].

Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Janne Grunau
2025-05-01 21:43:22 -04:00
committed by Matt Turner
parent b555818fd9
commit 1df7cb1b7b
+5 -1
View File
@@ -159,7 +159,7 @@ DEPEND="${RDEPEND}
"
CLC_DEPSTRING="
~dev-util/mesa_clc-${PV}
~dev-util/mesa_clc-${PV}[video_cards_panfrost?]
llvm-core/libclc[spirv(-)]
"
BDEPEND="
@@ -441,6 +441,10 @@ multilib_src_configure() {
emesonargs+=(-Dmesa-clc=system)
fi
if use video_cards_panfrost; then
emesonargs+=(-Dprecomp-compiler=system)
fi
use debug && EMESON_BUILDTYPE=debug
emesonargs+=(