summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-12-25 21:49:17 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-12-25 21:53:10 +0100
commit83d5ce5b704b8645863faf2dd223d62cf53f300d (patch)
tree88603d2dc65fd246d7915d8c41ff52993de2c7f2 /kde-plasma
parentdev-cpp/taskflow: add 3.4.0 (diff)
downloadgentoo-83d5ce5b704b8645863faf2dd223d62cf53f300d.tar.gz
gentoo-83d5ce5b704b8645863faf2dd223d62cf53f300d.tar.bz2
gentoo-83d5ce5b704b8645863faf2dd223d62cf53f300d.zip
kde-plasma/plasma-workspace: Fix build with USE=-fontconfig
Closes: https://bugs.gentoo.org/881141 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma')
-rw-r--r--kde-plasma/plasma-workspace/plasma-workspace-5.26.4.1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.26.4.1.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.26.4.1.ebuild
index 88b3cc36551d..8ae89210b814 100644
--- a/kde-plasma/plasma-workspace/plasma-workspace-5.26.4.1.ebuild
+++ b/kde-plasma/plasma-workspace/plasma-workspace-5.26.4.1.ebuild
@@ -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() {