blob: 7fb11ae845bddcb9b94365d6cca19c0c647f704c [file] [log] [blame]
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-chewing/ibus-chewing-1.2.0.20090917.ebuild,v 1.1 2009/09/17 16:17:22 matsuu Exp $
EAPI="2"
inherit cmake-utils cros-workon
MY_P="${P}-Source"
DESCRIPTION="The Chewing IMEngine for IBus Framework"
HOMEPAGE="http://code.google.com/p/ibus/"
#SRC_URI="http://ibus.googlecode.com/files/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="nls"
RDEPEND=">=app-i18n/ibus-1.1
>=dev-libs/libchewing-0.3.2
dev-util/gob:2
x11-libs/libXtst"
DEPEND="${RDEPEND}
dev-util/cmake
dev-util/pkgconfig"
S="${WORKDIR}/${MY_P}"
CMAKE_IN_SOURCE_BUILD=1
DOCS="AUTHORS ChangeLog NEWS README"
# Chromium OS changes:
# - Add src_configure() and use cros-workon to inherit src_unpack().
CROS_WORKON_SUBDIR="files"
src_configure() {
tc-export CC CXX LD AR RANLIB NM
mycmakeargs=(
$(cmake-utils_use_enable nls)
)
cmake-utils_src_configure
}