1 |
commit: 51bee5a21ca587c831c94b63ca64c193ec529850 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 2 10:54:31 2017 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 2 10:54:31 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51bee5a2 |
7 |
|
8 |
app-i18n/ibus-unikey: Fix depend on app-i18n/ibus |
9 |
|
10 |
This commit fixes the breakage caused by commit fab5df2eef030ab7d815a82592a727fc78390710 |
11 |
which removed the dedicated gtk3 USE flag. |
12 |
|
13 |
With this commit, ibus-unikey now depends on app-i18n/ibus[gtk] when gtk3 USE flag |
14 |
was set and app-i18n/ibus[gtk2] when not (due to required_use in app-i18n/ibus you |
15 |
will be required to emerge app-i18n/ibus with gtk USE flag anyway but this is |
16 |
something which should be addressed by package maintainer). |
17 |
|
18 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
19 |
|
20 |
...0.6.1-r1.ebuild => ibus-unikey-0.6.1-r2.ebuild} | 6 ++--- |
21 |
app-i18n/ibus-unikey/ibus-unikey-0.6.1.ebuild | 29 ---------------------- |
22 |
2 files changed, 3 insertions(+), 32 deletions(-) |
23 |
|
24 |
diff --git a/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r1.ebuild b/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild |
25 |
similarity index 85% |
26 |
rename from app-i18n/ibus-unikey/ibus-unikey-0.6.1-r1.ebuild |
27 |
rename to app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild |
28 |
index 717d3e93620..5883a554f0f 100644 |
29 |
--- a/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r1.ebuild |
30 |
+++ b/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild |
31 |
@@ -1,4 +1,4 @@ |
32 |
-# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Copyright 1999-2017 Gentoo Foundation |
34 |
# Distributed under the terms of the GNU General Public License v2 |
35 |
|
36 |
EAPI="5" |
37 |
@@ -14,9 +14,9 @@ SLOT="0" |
38 |
KEYWORDS="~amd64 ~x86" |
39 |
IUSE="gtk3" |
40 |
|
41 |
-RDEPEND="gtk3? ( >app-i18n/ibus-1.4.0[gtk3] |
42 |
+RDEPEND="gtk3? ( >app-i18n/ibus-1.4.0[gtk] |
43 |
x11-libs/gtk+:3 ) |
44 |
- !gtk3? ( >=app-i18n/ibus-1.4.0 |
45 |
+ !gtk3? ( >=app-i18n/ibus-1.4.0[gtk2] |
46 |
>=x11-libs/gtk+-2.12:2 ) |
47 |
x11-libs/libX11" |
48 |
DEPEND="${RDEPEND} |
49 |
|
50 |
diff --git a/app-i18n/ibus-unikey/ibus-unikey-0.6.1.ebuild b/app-i18n/ibus-unikey/ibus-unikey-0.6.1.ebuild |
51 |
deleted file mode 100644 |
52 |
index 64a0c43c0e8..00000000000 |
53 |
--- a/app-i18n/ibus-unikey/ibus-unikey-0.6.1.ebuild |
54 |
+++ /dev/null |
55 |
@@ -1,29 +0,0 @@ |
56 |
-# Copyright 1999-2012 Gentoo Foundation |
57 |
-# Distributed under the terms of the GNU General Public License v2 |
58 |
- |
59 |
-EAPI="4" |
60 |
-inherit eutils |
61 |
- |
62 |
-DESCRIPTION="Vietnamese Input Method Engine for IBUS using Unikey IME" |
63 |
-HOMEPAGE="https://code.google.com/p/ibus-unikey/" |
64 |
-SRC_URI="https://ibus-unikey.googlecode.com/files/${P}.tar.gz" |
65 |
- |
66 |
-LICENSE="GPL-3" |
67 |
-SLOT="0" |
68 |
-KEYWORDS="~amd64 ~x86" |
69 |
-IUSE="gtk3" |
70 |
- |
71 |
-RDEPEND="gtk3? ( >app-i18n/ibus-1.4.0[gtk3] |
72 |
- x11-libs/gtk+:3 ) |
73 |
- !gtk3? ( >=app-i18n/ibus-1.4.0 |
74 |
- >=x11-libs/gtk+-2.12:2 ) |
75 |
- x11-libs/libX11" |
76 |
-DEPEND="${RDEPEND} |
77 |
- virtual/pkgconfig |
78 |
- dev-util/intltool |
79 |
- >=sys-devel/gettext-0.17" |
80 |
- |
81 |
-src_configure() { |
82 |
- use gtk3 && myconf="--with-gtk-version=3" || myconf="" |
83 |
- econf ${myconf} |
84 |
-} |