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.
|
|
|
# Copyright 1999-2012 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.3.10-r1.ebuild,v 1.2 2012/05/03 19:24:29 jdhore Exp $
|
|
|
|
|
|
|
|
EAPI=4
|
|
|
|
inherit cmake-utils
|
|
|
|
|
|
|
|
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
|
|
|
|
https://fedorahosted.org/releases/c/m/cmake-fedora/cmake-fedora-modules-only-latest.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE="nls"
|
|
|
|
|
|
|
|
RDEPEND="x11-libs/libXtst
|
|
|
|
>=app-i18n/ibus-1.1
|
|
|
|
>=dev-libs/libchewing-0.3.2
|
|
|
|
x11-libs/gtk+:2
|
|
|
|
dev-util/gob:2"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
dev-util/cmake-fedora
|
|
|
|
virtual/pkgconfig"
|
|
|
|
|
|
|
|
S=${WORKDIR}/${MY_P}
|
|
|
|
|
|
|
|
CMAKE_IN_SOURCE_BUILD=1
|
|
|
|
|
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}"/${P}-cflags.patch
|
|
|
|
"${FILESDIR}"/${P}-ibus-1.4.patch
|
|
|
|
"${FILESDIR}"/${P}-fix_save_setting.patch
|
|
|
|
)
|
|
|
|
|
|
|
|
DOCS="AUTHORS ChangeLog ChangeLog.prev README RELEASE-NOTES.txt USER-GUIDE"
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local mycmakeargs=(
|
|
|
|
-DSYSCONF_INSTALL_DIR=/etc
|
|
|
|
-DPRJ_DOC_DIR=/usr/share/doc/${PF}
|
|
|
|
)
|
|
|
|
|
|
|
|
cmake-utils_src_configure
|
|
|
|
}
|