summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2016-10-13 09:21:04 +0200
committerMike Gilbert <floppym@gentoo.org>2016-10-13 12:08:17 -0400
commit74cd54bf9e49f507f57b3ff1bd84194391216bfa (patch)
tree2fb216a8a0bb511366f30fd0fd88c13a594f6062
parentapp-i18n/fcitx-unikey: Fix building with C++11 (bug #595866). (diff)
downloadgentoo-74cd54bf9e49f507f57b3ff1bd84194391216bfa.tar.gz
gentoo-74cd54bf9e49f507f57b3ff1bd84194391216bfa.tar.bz2
gentoo-74cd54bf9e49f507f57b3ff1bd84194391216bfa.zip
app-i18n/fcitx-unikey: Rename "qt4" USE flag to "macro-editor".
-rw-r--r--app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild13
-rw-r--r--app-i18n/fcitx-unikey/metadata.xml3
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>