summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-08-31 20:30:01 +0200
committerMike Gilbert <floppym@gentoo.org>2017-08-31 15:52:53 -0400
commit6e43a1e33d68e470c772b09f0489eecf47677de0 (patch)
tree5d20cabba4811e39fdd05a0679ea5d33b9672808 /app-i18n/kcm-fcitx
parentapp-i18n/kcm-fcitx: Update dependencies. (diff)
downloadgentoo-6e43a1e33d68e470c772b09f0489eecf47677de0.tar.gz
gentoo-6e43a1e33d68e470c772b09f0489eecf47677de0.tar.bz2
gentoo-6e43a1e33d68e470c772b09f0489eecf47677de0.zip
app-i18n/kcm-fcitx: Update dependencies.
https://github.com/fcitx/kcm-fcitx/commit/f8416ffe5b8baf1f3102fb8fe9d757cc3117bad2
Diffstat (limited to 'app-i18n/kcm-fcitx')
-rw-r--r--app-i18n/kcm-fcitx/kcm-fcitx-0.5.4.ebuild8
-rw-r--r--app-i18n/kcm-fcitx/kcm-fcitx-9999.ebuild2
2 files changed, 8 insertions, 2 deletions
diff --git a/app-i18n/kcm-fcitx/kcm-fcitx-0.5.4.ebuild b/app-i18n/kcm-fcitx/kcm-fcitx-0.5.4.ebuild
index 59ff589971aa..7c1971240e54 100644
--- a/app-i18n/kcm-fcitx/kcm-fcitx-0.5.4.ebuild
+++ b/app-i18n/kcm-fcitx/kcm-fcitx-0.5.4.ebuild
@@ -30,7 +30,8 @@ RDEPEND=">=app-i18n/fcitx-4.2.8
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
- kde-frameworks/kcmutils:5
+ kde-frameworks/kcompletion:5
+ kde-frameworks/kconfigwidgets:5
kde-frameworks/kcoreaddons:5
kde-frameworks/ki18n:5
kde-frameworks/kio:5
@@ -48,6 +49,11 @@ src_prepare() {
# x11-libs/libxkbfile only used by kbd-layout-viewer not ported to Qt 5 / KDE 5.
sed -e "/find_package(XkbFile REQUIRED)/d" -i CMakeLists.txt
+ # Adjust dependencies to match actual usage.
+ # https://github.com/fcitx/kcm-fcitx/issues/12
+ sed -e "s/KCMUtils/Completion\n ConfigWidgets/" -i CMakeLists.txt
+ sed -e "s/KF5::KCMUtils/KF5::Completion\n KF5::ConfigWidgets/" -i src/CMakeLists.txt
+
cmake-utils_src_prepare
}
diff --git a/app-i18n/kcm-fcitx/kcm-fcitx-9999.ebuild b/app-i18n/kcm-fcitx/kcm-fcitx-9999.ebuild
index 7b6425d1af8d..d82e5c56359a 100644
--- a/app-i18n/kcm-fcitx/kcm-fcitx-9999.ebuild
+++ b/app-i18n/kcm-fcitx/kcm-fcitx-9999.ebuild
@@ -31,7 +31,7 @@ RDEPEND=">=app-i18n/fcitx-4.2.8
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
- kde-frameworks/kcmutils:5
+ kde-frameworks/kconfigwidgets:5
kde-frameworks/kcoreaddons:5
kde-frameworks/ki18n:5
kde-frameworks/kio:5