1 |
commit: 74cd54bf9e49f507f57b3ff1bd84194391216bfa |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Thu Oct 13 07:21:04 2016 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 13 16:08:17 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74cd54bf |
7 |
|
8 |
app-i18n/fcitx-unikey: Rename "qt4" USE flag to "macro-editor". |
9 |
|
10 |
app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild | 13 +++++++++---- |
11 |
app-i18n/fcitx-unikey/metadata.xml | 3 +++ |
12 |
2 files changed, 12 insertions(+), 4 deletions(-) |
13 |
|
14 |
diff --git a/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild b/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild |
15 |
index 87fbb25..1a5202e 100644 |
16 |
--- a/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild |
17 |
+++ b/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild |
18 |
@@ -23,11 +23,16 @@ fi |
19 |
LICENSE="GPL-2+ GPL-3+" |
20 |
SLOT="0" |
21 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
22 |
-IUSE="+qt4" |
23 |
+IUSE="+macro-editor" |
24 |
|
25 |
-RDEPEND=">=app-i18n/fcitx-4.2.8[qt4?] |
26 |
+RDEPEND=">=app-i18n/fcitx-4.2.8 |
27 |
virtual/libiconv |
28 |
- virtual/libintl" |
29 |
+ virtual/libintl |
30 |
+ macro-editor? ( |
31 |
+ >=app-i18n/fcitx-4.2.8[qt4] |
32 |
+ dev-qt/qtcore:4 |
33 |
+ dev-qt/qtgui:4 |
34 |
+ )" |
35 |
DEPEND="${RDEPEND} |
36 |
sys-devel/gettext |
37 |
virtual/pkgconfig" |
38 |
@@ -40,7 +45,7 @@ DOCS=() |
39 |
|
40 |
src_configure() { |
41 |
local mycmakeargs=( |
42 |
- -DENABLE_QT=$(usex qt4) |
43 |
+ -DENABLE_QT=$(usex macro-editor) |
44 |
) |
45 |
|
46 |
cmake-utils_src_configure |
47 |
|
48 |
diff --git a/app-i18n/fcitx-unikey/metadata.xml b/app-i18n/fcitx-unikey/metadata.xml |
49 |
index 49f2185..12fb997 100644 |
50 |
--- a/app-i18n/fcitx-unikey/metadata.xml |
51 |
+++ b/app-i18n/fcitx-unikey/metadata.xml |
52 |
@@ -9,4 +9,7 @@ |
53 |
<email>cjk@g.o</email> |
54 |
<name>Cjk</name> |
55 |
</maintainer> |
56 |
+ <use> |
57 |
+ <flag name="macro-editor">Install macro editor</flag> |
58 |
+ </use> |
59 |
</pkgmetadata> |