commit: 6e43a1e33d68e470c772b09f0489eecf47677de0 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> AuthorDate: Thu Aug 31 18:30:01 2017 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Thu Aug 31 19:52:53 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e43a1e3
app-i18n/kcm-fcitx: Update dependencies. https://github.com/fcitx/kcm-fcitx/commit/f8416ffe5b8baf1f3102fb8fe9d757cc3117bad2 app-i18n/kcm-fcitx/kcm-fcitx-0.5.4.ebuild | 8 +++++++- app-i18n/kcm-fcitx/kcm-fcitx-9999.ebuild | 2 +- 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 59ff589971a..7c1971240e5 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 7b6425d1af8..d82e5c56359 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
