Skip to content

Commit

Permalink
app-i18n/fcitx: Remove dep on removed qt4
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Aug 25, 2018
1 parent 8936fab commit 75c28c3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 21 deletions.
15 changes: 5 additions & 10 deletions app-i18n/fcitx/fcitx-4.2.9.6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ fi
LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
SLOT="4"
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 )"
IUSE="+X +autostart +cairo debug +enchant gtk2 +gtk3 +introspection lua nls opencc +pango static-libs +table test +xml"
REQUIRED_USE="cairo? ( X ) pango? ( cairo )"

RDEPEND="dev-libs/glib:2
sys-apps/dbus
Expand Down Expand Up @@ -58,11 +58,6 @@ RDEPEND="dev-libs/glib:2
lua? ( dev-lang/lua:= )
nls? ( sys-devel/gettext )
opencc? ( app-i18n/opencc:= )
qt4? (
dev-qt/qtcore:4
dev-qt/qtdbus:4
dev-qt/qtgui:4
)
xml? (
app-text/iso-codes
dev-libs/libxml2
Expand Down Expand Up @@ -109,9 +104,9 @@ src_configure() {
-DENABLE_LUA=$(usex lua)
-DENABLE_OPENCC=$(usex opencc)
-DENABLE_PANGO=$(usex pango)
-DENABLE_QT=$(usex qt4)
-DENABLE_QT_GUI=$(usex qt4)
-DENABLE_QT_IM_MODULE=$(usex qt4)
-DENABLE_QT=OFF
-DENABLE_QT_GUI=OFF
-DENABLE_QT_IM_MODULE=OFF
-DENABLE_SNOOPER=$(if use gtk2 || use gtk3; then echo yes; else echo no; fi)
-DENABLE_STATIC=$(usex static-libs)
-DENABLE_TABLE=$(usex table)
Expand Down
15 changes: 5 additions & 10 deletions app-i18n/fcitx/fcitx-4.9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ fi
LICENSE="BSD-1 GPL-2+ LGPL-2+ MIT"
SLOT="4"
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 )"
IUSE="+X +autostart +cairo debug +enchant gtk2 +gtk3 +introspection lua nls opencc +pango static-libs +table test +xml"
REQUIRED_USE="cairo? ( X ) pango? ( cairo )"

RDEPEND="dev-libs/glib:2
sys-apps/dbus
Expand Down Expand Up @@ -58,11 +58,6 @@ RDEPEND="dev-libs/glib:2
lua? ( dev-lang/lua:= )
nls? ( sys-devel/gettext )
opencc? ( app-i18n/opencc:= )
qt4? (
dev-qt/qtcore:4
dev-qt/qtdbus:4
dev-qt/qtgui:4
)
xml? (
app-text/iso-codes
dev-libs/libxml2
Expand Down Expand Up @@ -109,9 +104,9 @@ src_configure() {
-DENABLE_LUA=$(usex lua)
-DENABLE_OPENCC=$(usex opencc)
-DENABLE_PANGO=$(usex pango)
-DENABLE_QT=$(usex qt4)
-DENABLE_QT_GUI=$(usex qt4)
-DENABLE_QT_IM_MODULE=$(usex qt4)
-DENABLE_QT=OFF
-DENABLE_QT_GUI=OFF
-DENABLE_QT_IM_MODULE=OFF
-DENABLE_SNOOPER=$(if use gtk2 || use gtk3; then echo yes; else echo no; fi)
-DENABLE_STATIC=$(usex static-libs)
-DENABLE_TABLE=$(usex table)
Expand Down
1 change: 0 additions & 1 deletion app-i18n/fcitx/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<flag name="gtk3">Install input method module for GTK+ 3</flag>
<flag name="opencc">Enable OpenCC engine (using <pkg>app-i18n/opencc</pkg>) for converter between Simplified Chinese and Traditional Chinese</flag>
<flag name="pango">Enable support for <pkg>x11-libs/pango</pkg></flag>
<flag name="qt4">Install input method module for Qt 4</flag>
<flag name="table">Install table input methods for Simplified Chinese</flag>
</use>
<upstream>
Expand Down

0 comments on commit 75c28c3

Please sign in to comment.