/[gentoo-x86]/app-i18n/fcitx/fcitx-4.0.0.ebuild
Gentoo

Contents of /app-i18n/fcitx/fcitx-4.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Oct 27 05:40:38 2012 UTC (6 months, 3 weeks ago) by yngwin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Version bump (bug #439706). Remove some old versions.

(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx/fcitx-4.0.0.ebuild,v 1.4 2012/05/18 14:21:32 josejx Exp $
4
5 EAPI="3"
6
7 DESCRIPTION="Free Chinese Input Toy for X. Another Chinese XIM Input Method"
8 HOMEPAGE="http://www.fcitx.org/"
9 SRC_URI="http://fcitx.googlecode.com/files/${P}_all.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
14 IUSE="dbus pango"
15
16 RDEPEND="x11-libs/libX11
17 x11-libs/libXrender
18 x11-libs/cairo[X]
19 media-libs/fontconfig
20 pango? ( x11-libs/pango )
21 dbus? ( >=sys-apps/dbus-0.2 )"
22 DEPEND="${RDEPEND}
23 x11-proto/xproto
24 virtual/pkgconfig"
25
26 src_configure() {
27 econf \
28 $(use_enable dbus) \
29 $(use_enable pango) || die
30 }
31
32 src_install() {
33 emake DESTDIR="${D}" install || die
34
35 dodoc AUTHORS ChangeLog README THANKS TODO || die
36
37 rm -rf "${ED}"/usr/share/fcitx/doc/ || die
38 dodoc doc/pinyin.txt doc/cjkvinput.txt || die
39 dohtml doc/wb_fh.htm || die
40 }
41
42 pkg_postinst() {
43 elog
44 elog "You should export the following variables to use fcitx"
45 elog " export XMODIFIERS=\"@im=fcitx\""
46 elog " export XIM=fcitx"
47 elog " export XIM_PROGRAM=fcitx"
48 elog
49 elog "If you want to use WuBi ,ErBi or something else."
50 elog " mkdir -p ~/.fcitx"
51 elog " cp /usr/share/fcitx/data/wbx.mb ~/.fcitx"
52 elog " cp /usr/share/fcitx/data/erbi.mb ~/.fcitx"
53 elog " cp /usr/share/fcitx/data/tables.conf ~/.fcitx"
54 elog
55 }

  ViewVC Help
Powered by ViewVC 1.1.13