kde-plasma/plasma-workspace: Fix build with USE=-fontconfig

Closes: https://bugs.gentoo.org/881141
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2022-12-25 21:49:17 +01:00
parent 2bb3a523fe
commit 83d5ce5b70

View File

@@ -188,6 +188,11 @@ src_prepare() {
if ! use policykit; then
cmake_run_in kcms cmake_comment_add_subdirectory users
fi
if ! use fontconfig; then
ecm_punt_bogus_dep XCB IMAGE
sed -e "s/check_X11_lib(Xft)/#&/" -i CMakeLists.txt || die
fi
}
src_configure() {