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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69830158095 for ; Mon, 5 Sep 2022 12:42:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3F39E07C9; Mon, 5 Sep 2022 12:42:50 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D8DCE07C9 for ; Mon, 5 Sep 2022 12:42:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A0EDB33BF08 for ; Mon, 5 Sep 2022 12:42:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4071A75 for ; Mon, 5 Sep 2022 12:42:48 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1662381738.4b475f00c38045cadba7c784e048e56e115b1a28.dlan@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.13.0.ebuild X-VCS-Directories: app-i18n/ibus-libpinyin/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 4b475f00c38045cadba7c784e048e56e115b1a28 X-VCS-Branch: master Date: Mon, 5 Sep 2022 12:42:48 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 14f792ff-12db-4443-b37f-48abb1b56b4c X-Archives-Hash: 7cb4dbb8ca8cf650b679f490f7b26f79 commit: 4b475f00c38045cadba7c784e048e56e115b1a28 Author: Graham Ramsey gmail com> AuthorDate: Mon Sep 5 11:17:39 2022 +0000 Commit: Yixun Lan gentoo org> CommitDate: Mon Sep 5 12:42:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b475f00 app-i18n/ibus-libpinyin: Version 1.13.0 added Simple version bump Closes: https://bugs.gentoo.org/868564 Closes: https://github.com/gentoo/gentoo/pull/27151 Signed-off-by: Graham Ramsey gmail.com> Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Yixun Lan gentoo.org> app-i18n/ibus-libpinyin/Manifest | 1 + .../ibus-libpinyin/ibus-libpinyin-1.13.0.ebuild | 69 ++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/app-i18n/ibus-libpinyin/Manifest b/app-i18n/ibus-libpinyin/Manifest index f1be4a9c7d55..3d6a11941404 100644 --- a/app-i18n/ibus-libpinyin/Manifest +++ b/app-i18n/ibus-libpinyin/Manifest @@ -1 +1,2 @@ DIST ibus-libpinyin-1.12.1.tar.gz 1766803 BLAKE2B 1de8a51b52688dede32c572b39bd379296480ab2b0f909357465370e346bdf50f4cade5ab3f105f62a74e59cf2dc5e8d5235aedde7571b70d3c5dcee86d2e36b SHA512 ad6e7507bdb468d506071135449383e5bd4fc878bcffda4be6e4e7915b79dbaf919d2fa941b92b177dc7790bd895eaa9a6d04a2610f85e1e80e8eb50f188211d +DIST ibus-libpinyin-1.13.0.tar.gz 1726869 BLAKE2B f18ae81edb4ebf18f569fc13f3088f32e57c6a4512f7cafb33a18fdb08d5fdcdb17ff1861c3419db3063808f655510f6f4de63c274d798c48731ac4632203ba6 SHA512 8eca89c3c71ada37ec93307556fc476ad8719e58ca828f684dff6e74e1cb91df3e8c8ce03c87dbb72d5b7213e7c7ca367da8cf6b1dddb47d63afdf23d53bc54c diff --git a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.13.0.ebuild b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.13.0.ebuild new file mode 100644 index 000000000000..7f8fdf0ab762 --- /dev/null +++ b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.13.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 2015-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +LUA_COMPAT=( lua5-{1..3} ) +PYTHON_COMPAT=( python3_{8..10} ) + +inherit autotools gnome2-utils lua-single python-single-r1 + +DESCRIPTION="Intelligent Pinyin and Bopomofo input methods based on LibPinyin for IBus" +HOMEPAGE="https://github.com/libpinyin/ibus-libpinyin https://sourceforge.net/projects/libpinyin/" +SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="boost lua opencc" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + lua? ( ${LUA_REQUIRED_USE} )" + +BDEPEND="dev-db/sqlite:3 + virtual/pkgconfig" + +DEPEND="${PYTHON_DEPS} + >=app-i18n/libpinyin-2.2.1:= + dev-db/sqlite:3 + dev-libs/glib:2 + virtual/libintl + $(python_gen_cond_dep ' + app-i18n/ibus[python(+),${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + boost? ( dev-libs/boost:= ) + lua? ( ${LUA_DEPS} ) + opencc? ( app-i18n/opencc:= )" + +RDEPEND="${DEPEND}" + +pkg_setup() { + python-single-r1_pkg_setup + + if use lua; then + lua-single_pkg_setup + fi +} + +src_prepare() { + sed -i \ + -e "/^appdatadir/s:/appdata:/metainfo:" \ + data/Makefile.am || die + default + eautoreconf +} + +src_configure() { + econf \ + --enable-english-input-mode \ + $(use_enable boost) \ + $(use_enable lua lua-extension) \ + $(use_enable opencc) +} + +pkg_postinst() { + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_schemas_update +}