diff options
Diffstat (limited to 'app-i18n/fcitx-unikey')
-rw-r--r-- | app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild | 13 | ||||
-rw-r--r-- | app-i18n/fcitx-unikey/metadata.xml | 3 |
2 files changed, 12 insertions, 4 deletions
diff --git a/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild b/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild index 87fbb25b53e8..1a5202e39a14 100644 --- a/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild +++ b/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild @@ -23,11 +23,16 @@ fi LICENSE="GPL-2+ GPL-3+" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="+qt4" +IUSE="+macro-editor" -RDEPEND=">=app-i18n/fcitx-4.2.8[qt4?] +RDEPEND=">=app-i18n/fcitx-4.2.8 virtual/libiconv - virtual/libintl" + virtual/libintl + macro-editor? ( + >=app-i18n/fcitx-4.2.8[qt4] + dev-qt/qtcore:4 + dev-qt/qtgui:4 + )" DEPEND="${RDEPEND} sys-devel/gettext virtual/pkgconfig" @@ -40,7 +45,7 @@ DOCS=() src_configure() { local mycmakeargs=( - -DENABLE_QT=$(usex qt4) + -DENABLE_QT=$(usex macro-editor) ) cmake-utils_src_configure diff --git a/app-i18n/fcitx-unikey/metadata.xml b/app-i18n/fcitx-unikey/metadata.xml index 49f2185b80dc..12fb9976d9cd 100644 --- a/app-i18n/fcitx-unikey/metadata.xml +++ b/app-i18n/fcitx-unikey/metadata.xml @@ -9,4 +9,7 @@ <email>cjk@gentoo.org</email> <name>Cjk</name> </maintainer> + <use> + <flag name="macro-editor">Install macro editor</flag> + </use> </pkgmetadata> |