1 |
commit: a5913ce0134d42c4a3aed704270be8cdb3854e71 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 14 11:16:40 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 14 12:06:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=a5913ce0 |
7 |
|
8 |
kde-plasma/plasma-desktop: Fix cmake config after upstream reshuffle |
9 |
|
10 |
Upstream commit dabfc009d89dfcecae58e1adfb2362cc54adec8a |
11 |
|
12 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild | 8 ++++++-- |
16 |
1 file changed, 6 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild |
19 |
index 1b319c3632..3a424efdc6 100644 |
20 |
--- a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild |
21 |
+++ b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild |
22 |
@@ -138,6 +138,11 @@ src_prepare() { |
23 |
|
24 |
use emoji || cmake_run_in applets/kimpanel/backend/ibus \ |
25 |
cmake_comment_add_subdirectory emojier |
26 |
+ |
27 |
+ # TODO: try to get a build switch upstreamed |
28 |
+ if ! use scim; then |
29 |
+ sed -e "s/^pkg_check_modules.*SCIM/#&/" -i CMakeLists.txt || die |
30 |
+ fi |
31 |
} |
32 |
|
33 |
src_configure() { |
34 |
@@ -149,11 +154,10 @@ src_configure() { |
35 |
-DSYNAPTICS_INCLUDE_DIRS="${WORKDIR}/${XORGHDRS}"/include |
36 |
$(cmake_use_find_package kaccounts AccountsQt5) |
37 |
$(cmake_use_find_package kaccounts KAccounts) |
38 |
- $(cmake_use_find_package scim SCIM) |
39 |
$(cmake_use_find_package semantic-desktop KF5Baloo) |
40 |
) |
41 |
if ! use emoji && ! use ibus; then |
42 |
- mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_IBus=ON ) |
43 |
+ mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_GLIB2=ON ) |
44 |
fi |
45 |
|
46 |
ecm_src_configure |