forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-i18n/ibus-libpinyin: version bump 1.7.4
Package-Manager: portage-2.2.28
- Loading branch information
Showing
3 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST ibus-libpinyin-1.6.92.tar.gz 1686249 SHA256 e611cff47b84345e1f60b8e94f74811bcfdf53b6ef7436b5cb5aff47eea743a3 SHA512 b4af0083c9c1dd4273c75372acf5d74ce317effdf56d8a0de8a3e3cd24f40b1b2dba91786d0a1cd72c9d7867b9ae630c4f69b04b378529dca8be0869e91d322d WHIRLPOOL 5dd8493bbbaa0f3d189a825bd4237a56276e88b8da91e75c1e3d49c1c1b2050ee2f9aaa4524ea00418690d8ff2085d6b6f686e60752e838f2515ca9d780347ef | ||
DIST ibus-libpinyin-1.7.4.tar.gz 1692228 SHA256 4627eab10ded24bd1a95ee56a2f7bd6a82deb94435aea674267fc40febd66f81 SHA512 d94f495e74650830f759889112df8b749d6e28192ed866f6bd132b16e16cda59d97aabc2762596bbe337a3deeb30ccd680ad370c28c1932ab05c6a40d8e1c265 WHIRLPOOL 1227c7f96565c001a90bced8aa4f847cfbe9bfae6810641e76472c437a29cdb539d2b316add9850270fa4eb2436761375f9d436749c8f06a573206ddba02064c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
PYTHON_COMPAT=( python2_7 ) | ||
|
||
AUTOTOOLS_AUTORECONF=1 | ||
inherit autotools-utils python-single-r1 | ||
|
||
DESCRIPTION="ibus-libpinyin - pinyin chinese input for ibus using libpinyin" | ||
HOMEPAGE="https://github.com/libpinyin/ibus-libpinyin" | ||
|
||
SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="boost opencc lua" | ||
|
||
DEPEND="sys-apps/sed" | ||
RDEPEND=">=app-i18n/ibus-1.5.4[python,${PYTHON_USEDEP}] | ||
dev-python/pygtk[${PYTHON_USEDEP}] | ||
>=app-i18n/libpinyin-1.2.91 | ||
app-i18n/pyzy | ||
boost? ( >=dev-libs/boost-1.39 ) | ||
opencc? ( >=app-i18n/opencc-1.0.0 ) | ||
lua? ( >=dev-lang/lua-5.1 )" | ||
|
||
DOCS=( AUTHORS ChangeLog NEWS README ) | ||
|
||
src_prepare() { | ||
sed -i -e "s/python/${EPYTHON}/" setup/ibus-setup-libpinyin.in || die | ||
autotools-utils_src_prepare | ||
} | ||
|
||
src_configure() { | ||
local myeconfargs=( | ||
$(use_enable boost ) | ||
$(use_enable opencc ) | ||
$(use_enable lua lua-extension ) | ||
--enable-english-input-mode | ||
) | ||
autotools-utils_src_configure | ||
} |