Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-sunpinyin/
Date: Wed, 02 Sep 2020 14:23:41
Message-Id: 1599056587.0cb3462966bf2dab66b74fd6deb30ce65699e34f.floppym@gentoo
1 commit: 0cb3462966bf2dab66b74fd6deb30ce65699e34f
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Tue Sep 1 22:00:00 2020 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 2 14:23:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb34629
7
8 app-i18n/fcitx-sunpinyin: Use EAPI="7". Use cmake.eclass and xdg-utils.eclass.
9
10 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-0.4.2.ebuild | 14 +++++++-------
14 app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-4.9999.ebuild | 14 +++++++-------
15 2 files changed, 14 insertions(+), 14 deletions(-)
16
17 diff --git a/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-0.4.2.ebuild b/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-0.4.2.ebuild
18 index 64c5adb2c75..b74338e9810 100644
19 --- a/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-0.4.2.ebuild
20 +++ b/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-0.4.2.ebuild
21 @@ -1,9 +1,9 @@
22 # Copyright 2010-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI="6"
26 +EAPI="7"
27
28 -inherit cmake-utils gnome2-utils
29 +inherit cmake xdg-utils
30
31 if [[ "${PV}" =~ (^|\.)9999$ ]]; then
32 inherit git-r3
33 @@ -24,18 +24,18 @@ SLOT="4"
34 KEYWORDS="amd64 ppc ppc64 x86"
35 IUSE=""
36
37 -RDEPEND=">=app-i18n/fcitx-4.2.9:4
38 +BDEPEND="virtual/pkgconfig"
39 +DEPEND=">=app-i18n/fcitx-4.2.9:4
40 >=app-i18n/sunpinyin-2.0.4_alpha:=
41 virtual/libintl"
42 -DEPEND="${RDEPEND}
43 - virtual/pkgconfig"
44 +RDEPEND="${DEPEND}"
45
46 DOCS=(AUTHORS)
47
48 pkg_postinst() {
49 - gnome2_icon_cache_update
50 + xdg_icon_cache_update
51 }
52
53 pkg_postrm() {
54 - gnome2_icon_cache_update
55 + xdg_icon_cache_update
56 }
57
58 diff --git a/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-4.9999.ebuild b/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-4.9999.ebuild
59 index cc7a98ca63d..f6ab6ee6ff7 100644
60 --- a/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-4.9999.ebuild
61 +++ b/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-4.9999.ebuild
62 @@ -1,9 +1,9 @@
63 # Copyright 2010-2020 Gentoo Authors
64 # Distributed under the terms of the GNU General Public License v2
65
66 -EAPI="6"
67 +EAPI="7"
68
69 -inherit cmake-utils gnome2-utils
70 +inherit cmake xdg-utils
71
72 if [[ "${PV}" =~ (^|\.)9999$ ]]; then
73 inherit git-r3
74 @@ -24,18 +24,18 @@ SLOT="4"
75 KEYWORDS=""
76 IUSE=""
77
78 -RDEPEND=">=app-i18n/fcitx-4.2.9:4
79 +BDEPEND="virtual/pkgconfig"
80 +DEPEND=">=app-i18n/fcitx-4.2.9:4
81 >=app-i18n/sunpinyin-2.0.4_alpha:=
82 virtual/libintl"
83 -DEPEND="${RDEPEND}
84 - virtual/pkgconfig"
85 +RDEPEND="${DEPEND}"
86
87 DOCS=(AUTHORS)
88
89 pkg_postinst() {
90 - gnome2_icon_cache_update
91 + xdg_icon_cache_update
92 }
93
94 pkg_postrm() {
95 - gnome2_icon_cache_update
96 + xdg_icon_cache_update
97 }