| # Copyright 1999-2015 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=5 |
| |
| inherit cmake-utils gnome2-utils |
| |
| DESCRIPTION="Sunpinyin module for fcitx" |
| HOMEPAGE="http://fcitx-im.org/" |
| SRC_URI="https://fcitx.googlecode.com/files/${P}.tar.xz" |
| |
| LICENSE="GPL-3" |
| SLOT="0" |
| KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
| IUSE="" |
| |
| RDEPEND=">=app-i18n/fcitx-4.2.7 |
| >app-i18n/sunpinyin-2.0.3" |
| DEPEND="${RDEPEND} |
| virtual/libintl" |
| |
| src_prepare() { |
| epatch "${FILESDIR}/${P}-gcc46-compatible.patch" |
| epatch_user |
| } |
| |
| pkg_postinst() { |
| gnome2_icon_cache_update |
| } |
| |
| pkg_postrm() { |
| gnome2_icon_cache_update |
| } |