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-configtool/
Date: Sat, 02 Sep 2017 15:52:22
Message-Id: 1504367524.e190b75dd0eecf804e59c626a81568062b2f0a40.floppym@gentoo
1 commit: e190b75dd0eecf804e59c626a81568062b2f0a40
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Fri Sep 1 19:43:01 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 2 15:52:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e190b75d
7
8 app-i18n/fcitx-configtool: Add live ebuild.
9
10 .../fcitx-configtool/fcitx-configtool-9999.ebuild | 43 ++++++++++++++++++++++
11 1 file changed, 43 insertions(+)
12
13 diff --git a/app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild b/app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild
14 new file mode 100644
15 index 00000000000..85628cede8e
16 --- /dev/null
17 +++ b/app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild
18 @@ -0,0 +1,43 @@
19 +# Copyright 1999-2017 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +
22 +EAPI="6"
23 +
24 +inherit cmake-utils
25 +
26 +if [[ "${PV}" == "9999" ]]; then
27 + inherit git-r3
28 +
29 + EGIT_REPO_URI="https://github.com/fcitx/fcitx-configtool"
30 +fi
31 +
32 +DESCRIPTION="GTK+ GUI configuration tool for Fcitx"
33 +HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-configtool"
34 +if [[ "${PV}" == "9999" ]]; then
35 + SRC_URI=""
36 +else
37 + SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
38 +fi
39 +
40 +LICENSE="GPL-2+"
41 +SLOT="0"
42 +KEYWORDS=""
43 +IUSE=""
44 +
45 +RDEPEND=">=app-i18n/fcitx-4.2.8
46 + app-text/iso-codes
47 + dev-libs/glib:2
48 + x11-libs/gtk+:3"
49 +DEPEND="${RDEPEND}
50 + virtual/pkgconfig"
51 +
52 +DOCS=()
53 +
54 +src_configure() {
55 + local mycmakeargs=(
56 + -DENABLE_GTK2=OFF
57 + -DENABLE_GTK3=ON
58 + )
59 +
60 + cmake-utils_src_configure
61 +}