commit:     52247dfb39050c811eaaa01c426dae43bd17fdd5
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Fri Sep  1 19:35:29 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Sep  2 15:52:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52247dfb

app-i18n/fcitx: Always install libfcitx-gclient library.

 app-i18n/fcitx/fcitx-4.2.9.1.ebuild | 20 +++++---------------
 app-i18n/fcitx/fcitx-9999.ebuild    | 20 +++++---------------
 2 files changed, 10 insertions(+), 30 deletions(-)

diff --git a/app-i18n/fcitx/fcitx-4.2.9.1.ebuild 
b/app-i18n/fcitx/fcitx-4.2.9.1.ebuild
index d1ada64b61b..ea7c27463e5 100644
--- a/app-i18n/fcitx/fcitx-4.2.9.1.ebuild
+++ b/app-i18n/fcitx/fcitx-4.2.9.1.ebuild
@@ -25,7 +25,8 @@ KEYWORDS="amd64 hppa ppc ppc64 x86"
 IUSE="+X +autostart +cairo debug +enchant gtk2 gtk3 +introspection lua nls 
opencc +pango qt4 static-libs +table test +xml"
 REQUIRED_USE="cairo? ( X ) pango? ( cairo ) qt4? ( X )"
 
-RDEPEND="sys-apps/dbus
+RDEPEND="dev-libs/glib:2
+       sys-apps/dbus
        virtual/libiconv
        virtual/libintl
        x11-libs/libxkbcommon
@@ -37,25 +38,15 @@ RDEPEND="sys-apps/dbus
                xml? ( x11-libs/libxkbfile )
        )
        cairo? (
-               dev-libs/glib:2
                x11-libs/cairo[X]
                x11-libs/libXext
                pango? ( x11-libs/pango )
                !pango? ( media-libs/fontconfig )
        )
        enchant? ( app-text/enchant )
-       gtk2? (
-               dev-libs/glib:2
-               x11-libs/gtk+:2
-       )
-       gtk3? (
-               dev-libs/glib:2
-               x11-libs/gtk+:3
-       )
-       introspection? (
-               dev-libs/glib:2
-               dev-libs/gobject-introspection
-       )
+       gtk2? ( x11-libs/gtk+:2 )
+       gtk3? ( x11-libs/gtk+:3 )
+       introspection? ( dev-libs/gobject-introspection )
        lua? ( dev-lang/lua:= )
        nls? ( sys-devel/gettext )
        opencc? ( app-i18n/opencc:= )
@@ -105,7 +96,6 @@ src_configure() {
                -DENABLE_ENCHANT=$(usex enchant)
                -DENABLE_GETTEXT=$(usex nls)
                -DENABLE_GIR=$(usex introspection)
-               -DENABLE_GLIB2=$(if use cairo || use gtk2 || use gtk3 || use 
introspection; then echo yes; else echo no; fi)
                -DENABLE_GTK2_IM_MODULE=$(usex gtk2)
                -DENABLE_GTK3_IM_MODULE=$(usex gtk3)
                -DENABLE_LIBXML2=$(usex xml)

diff --git a/app-i18n/fcitx/fcitx-9999.ebuild b/app-i18n/fcitx/fcitx-9999.ebuild
index 3d658af9461..08e71fb657b 100644
--- a/app-i18n/fcitx/fcitx-9999.ebuild
+++ b/app-i18n/fcitx/fcitx-9999.ebuild
@@ -25,7 +25,8 @@ KEYWORDS=""
 IUSE="+X +autostart +cairo debug +enchant gtk2 gtk3 +introspection lua nls 
opencc +pango qt4 static-libs +table test +xml"
 REQUIRED_USE="cairo? ( X ) pango? ( cairo ) qt4? ( X )"
 
-RDEPEND="sys-apps/dbus
+RDEPEND="dev-libs/glib:2
+       sys-apps/dbus
        virtual/libiconv
        virtual/libintl
        x11-libs/libxkbcommon
@@ -37,25 +38,15 @@ RDEPEND="sys-apps/dbus
                xml? ( x11-libs/libxkbfile )
        )
        cairo? (
-               dev-libs/glib:2
                x11-libs/cairo[X]
                x11-libs/libXext
                pango? ( x11-libs/pango )
                !pango? ( media-libs/fontconfig )
        )
        enchant? ( app-text/enchant )
-       gtk2? (
-               dev-libs/glib:2
-               x11-libs/gtk+:2
-       )
-       gtk3? (
-               dev-libs/glib:2
-               x11-libs/gtk+:3
-       )
-       introspection? (
-               dev-libs/glib:2
-               dev-libs/gobject-introspection
-       )
+       gtk2? ( x11-libs/gtk+:2 )
+       gtk3? ( x11-libs/gtk+:3 )
+       introspection? ( dev-libs/gobject-introspection )
        lua? ( dev-lang/lua:= )
        nls? ( sys-devel/gettext )
        opencc? ( app-i18n/opencc:= )
@@ -100,7 +91,6 @@ src_configure() {
                -DENABLE_ENCHANT=$(usex enchant)
                -DENABLE_GETTEXT=$(usex nls)
                -DENABLE_GIR=$(usex introspection)
-               -DENABLE_GLIB2=$(if use cairo || use gtk2 || use gtk3 || use 
introspection; then echo yes; else echo no; fi)
                -DENABLE_GTK2_IM_MODULE=$(usex gtk2)
                -DENABLE_GTK3_IM_MODULE=$(usex gtk3)
                -DENABLE_LIBXML2=$(usex xml)

Reply via email to