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-unikey/
Date: Thu, 13 Oct 2016 16:08:24
Message-Id: 1476374897.24478e643e816b56c6f79f3c74d606a167c08f25.floppym@gentoo
1 commit: 24478e643e816b56c6f79f3c74d606a167c08f25
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Thu Oct 13 07:01:46 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=24478e64
7
8 app-i18n/fcitx-unikey: Use EAPI="6". Fix LICENSE, dependencies. Call gnome2_icon_savelist().
9
10 app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild | 39 +++++++++++++++++++------
11 1 file changed, 30 insertions(+), 9 deletions(-)
12
13 diff --git a/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild b/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild
14 index d02e536..5a087b5 100644
15 --- a/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild
16 +++ b/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild
17 @@ -1,30 +1,51 @@
18 -# Copyright 1999-2015 Gentoo Foundation
19 +# Copyright 1999-2016 Gentoo Foundation
20 # Distributed under the terms of the GNU General Public License v2
21 # $Id$
22
23 -EAPI=5
24 +EAPI="6"
25 +
26 inherit cmake-utils gnome2-utils
27
28 -DESCRIPTION="Vietnamese Unikey module for Fcitx"
29 -HOMEPAGE="http://fcitx-im.org/"
30 -SRC_URI="http://download.fcitx-im.org/${PN}/${P}.tar.xz"
31 +if [[ "${PV}" == "9999" ]]; then
32 + inherit git-r3
33 +
34 + EGIT_REPO_URI="https://github.com/fcitx/fcitx-unikey"
35 +fi
36
37 -LICENSE="GPL-3"
38 +DESCRIPTION="Vietnamese Unikey input methods for Fcitx"
39 +HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-unikey"
40 +if [[ "${PV}" == "9999" ]]; then
41 + SRC_URI=""
42 +else
43 + SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
44 +fi
45 +
46 +LICENSE="GPL-2+ GPL-3+"
47 SLOT="0"
48 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
49 IUSE="+qt4"
50
51 -RDEPEND=">=app-i18n/fcitx-4.2.8[qt4?]"
52 +RDEPEND=">=app-i18n/fcitx-4.2.8[qt4?]
53 + virtual/libiconv
54 + virtual/libintl"
55 DEPEND="${RDEPEND}
56 - sys-devel/gettext"
57 + sys-devel/gettext
58 + virtual/pkgconfig"
59 +
60 +DOCS=()
61
62 src_configure() {
63 local mycmakeargs=(
64 - $(cmake-utils_use_enable qt4 QT)
65 + -DENABLE_QT=$(usex qt4)
66 )
67 +
68 cmake-utils_src_configure
69 }
70
71 +pkg_preinst() {
72 + gnome2_icon_savelist
73 +}
74 +
75 pkg_postinst() {
76 gnome2_icon_cache_update
77 }