1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 EHG_REPO_URI
="https://fcitx.googlecode.com/hg"
9 inherit autotools mercurial
11 DESCRIPTION
="Free Chinese Input Toy for X. Another Chinese XIM Input Method"
12 HOMEPAGE
="http://fcitx.googlecode.com"
13 SRC_URI
="${HOMEPAGE}/files/pinyin.tar.gz ${HOMEPAGE}/files/table.tar.gz"
18 IUSE
="dbus debug +pango"
21 RDEPEND
="media-libs/fontconfig
25 dbus? ( sys-apps/dbus )
26 pango? ( x11-libs/pango )"
34 cp -v "${DISTDIR}"/pinyin.
tar.gz
"${S}"/data
&& \
35 cp -v "${DISTDIR}"/table.
tar.gz
"${S}"/data
/table || \
36 die
"failed to copy code tables"
38 epatch
"${FILESDIR}"/${PN}-remove-md5checks.
patch
39 intltoolize
-c -f || die
"failed to run intltoolize"