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.
53 lines
1.2 KiB
53 lines
1.2 KiB
4 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
10 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
7 years ago
|
EAPI="6"
|
||
10 years ago
|
PYTHON_COMPAT=( python2_7 )
|
||
|
|
||
7 years ago
|
inherit autotools python-single-r1
|
||
10 years ago
|
|
||
7 years ago
|
DESCRIPTION="Chinese Pinyin and Bopomofo engines for IBus"
|
||
9 years ago
|
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
||
7 years ago
|
SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ibus/${P}.tar.gz"
|
||
10 years ago
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
8 years ago
|
KEYWORDS="amd64 x86"
|
||
10 years ago
|
IUSE="boost lua nls"
|
||
7 years ago
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||
10 years ago
|
|
||
|
RDEPEND="${PYTHON_DEPS}
|
||
|
app-i18n/pyzy
|
||
7 years ago
|
dev-db/sqlite:3
|
||
4 years ago
|
$(python_gen_cond_dep '
|
||
|
app-i18n/ibus[python(+),${PYTHON_MULTI_USEDEP}]
|
||
|
dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
|
||
|
')
|
||
7 years ago
|
boost? ( dev-libs/boost )
|
||
|
lua? ( =dev-lang/lua-5.1*:= )
|
||
10 years ago
|
nls? ( virtual/libintl )"
|
||
|
DEPEND="${RDEPEND}
|
||
7 years ago
|
dev-util/intltool
|
||
|
sys-devel/autoconf-archive
|
||
10 years ago
|
virtual/pkgconfig
|
||
7 years ago
|
nls? ( sys-devel/gettext )"
|
||
10 years ago
|
|
||
7 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/${PN}-boost.patch
|
||
|
"${FILESDIR}"/${P}-content-type-method.patch
|
||
|
)
|
||
10 years ago
|
|
||
|
src_prepare() {
|
||
7 years ago
|
sed -i "s/python/${EPYTHON}/" setup/${PN/-/-setup-}.in
|
||
|
|
||
|
default
|
||
|
eautoreconf
|
||
10 years ago
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
econf \
|
||
|
$(use_enable boost) \
|
||
|
$(use_enable lua lua-extension) \
|
||
7 years ago
|
$(use_enable nls)
|
||
10 years ago
|
}
|