app-i18n/kcm-fcitx: Update dependencies.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Thu, 31 Aug 2017 18:30:01 +0000 (20:30 +0200)
committerMike Gilbert <floppym@gentoo.org>
Thu, 31 Aug 2017 19:52:53 +0000 (15:52 -0400)
https://github.com/fcitx/kcm-fcitx/commit/f8416ffe5b8baf1f3102fb8fe9d757cc3117bad2

app-i18n/kcm-fcitx/kcm-fcitx-0.5.4.ebuild
app-i18n/kcm-fcitx/kcm-fcitx-9999.ebuild

index 59ff589971aaf154f156fbd00cfdbd7c1b96ef9e..7c1971240e544f7cca4a53a8f9f62f332a420309 100644 (file)
@@ -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
 }
 
index 7b6425d1af8de59c7baa60e216e7225080228075..d82e5c56359aa014e23d2254f6fd6e262b192812 100644 (file)
@@ -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