From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 871B91396D1 for ; Mon, 14 Aug 2017 22:24:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9236B1FC049; Mon, 14 Aug 2017 22:24:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 610BB1FC046 for ; Mon, 14 Aug 2017 22:24:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B1D23417B8 for ; Mon, 14 Aug 2017 22:24:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BFA317847 for ; Mon, 14 Aug 2017 22:24:40 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1502749383.34f775ffc1cf5e280f999fa64983c569c2896b44.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-libpinyin/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/ibus-libpinyin/Manifest app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.0.ebuild X-VCS-Directories: app-i18n/ibus-libpinyin/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 34f775ffc1cf5e280f999fa64983c569c2896b44 X-VCS-Branch: master Date: Mon, 14 Aug 2017 22:24:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9f1e0138-8693-4d3a-a760-cf1e72a9b200 X-Archives-Hash: 1f657e2afee74af13a2d07a4d50c9b69 commit: 34f775ffc1cf5e280f999fa64983c569c2896b44 Author: Christian Tietz mailbox org> AuthorDate: Fri Aug 4 01:00:37 2017 +0000 Commit: Patrice Clement gentoo org> CommitDate: Mon Aug 14 22:23:03 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34f775ff app-i18n/ibus-libpinyin: version bump to 1.9.0. Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-i18n/ibus-libpinyin/Manifest | 1 + .../ibus-libpinyin/ibus-libpinyin-1.9.0.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/app-i18n/ibus-libpinyin/Manifest b/app-i18n/ibus-libpinyin/Manifest index ea2856c2e1b..7a9bd2b5d13 100644 --- a/app-i18n/ibus-libpinyin/Manifest +++ b/app-i18n/ibus-libpinyin/Manifest @@ -1,2 +1,3 @@ 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 +DIST ibus-libpinyin-1.9.0.tar.gz 1692442 SHA256 c8ec2450cec6f11870982b0130293dc967632631077029ca76c27ef349189e3e SHA512 cf90fd5233ca7a77d45b69efc76a211ff69895eed09998bec09b362f6b67a91687510144f55ee67e31897ee81c47e86e2e1258ee1771bae1f04d8aa398b13e1e WHIRLPOOL cb4a5cb645b2a0126f1d44452813021d3dc6b484e3f07f2a1bf5370b475103f0bf86a91576620ac038342dccf1d3f21da220a457b926c61329dc1e718e7f4c15 diff --git a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.0.ebuild b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.0.ebuild new file mode 100644 index 00000000000..0da5f0766b7 --- /dev/null +++ b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +PYTHON_REQ_USE="sqlite(+)" + +inherit autotools gnome2-utils python-single-r1 + +DESCRIPTION="Intelligent Pinyin engine based on libpinyin for IBus" +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 lua opencc" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + app-i18n/ibus[python(+),${PYTHON_USEDEP}] + >=app-i18n/libpinyin-1.9.91 + dev-python/pygobject:3[${PYTHON_USEDEP}] + boost? ( dev-libs/boost:= ) + lua? ( dev-lang/lua:0 ) + opencc? ( app-i18n/opencc )" + +DEPEND="${RDEPEND} + virtual/libintl + virtual/pkgconfig" + +src_prepare() { + default + sed -i "s/python/${EPYTHON}/" setup/ibus-setup-libpinyin.in || die + eautoreconf +} + +src_configure() { + econf \ + --enable-english-input-mode \ + $(use_enable boost) \ + $(use_enable lua lua-extension) \ + $(use_enable opencc) +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}