You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-i18n/scim-sunpinyin/scim-sunpinyin-2.0.3-r2.ebuild

32 lines
639 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils scons-utils
DESCRIPTION="The SunPinyin IMEngine for Smart Common Input Method (SCIM)"
HOMEPAGE="https://sunpinyin.googlecode.com"
SRC_URI="${HOMEPAGE}/files/${P}.tar.gz"
LICENSE="LGPL-2.1 CDDL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-i18n/scim
~app-i18n/sunpinyin-2.0.3
x11-libs/gtk+:2 "
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}/${P}-force-switch.patch"
}
src_compile() {
escons --prefix="/usr"
}
src_install() {
escons --prefix="/usr" --install-sandbox="${D}" install
}