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 5CA7A15802E for ; Tue, 25 Jun 2024 08:00:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85846E2A23; Tue, 25 Jun 2024 08:00:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2BEADE2A23 for ; Tue, 25 Jun 2024 08:00: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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E665A33F9FD for ; Tue, 25 Jun 2024 08:00:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 507241D31 for ; Tue, 25 Jun 2024 08:00: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: <1719301949.9297e0d6a09441a5964ffad2682f9efe1b5ac9d2.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-pinyin/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/ibus-pinyin/Manifest app-i18n/ibus-pinyin/ibus-pinyin-1.5.1.ebuild X-VCS-Directories: app-i18n/ibus-pinyin/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 9297e0d6a09441a5964ffad2682f9efe1b5ac9d2 X-VCS-Branch: master Date: Tue, 25 Jun 2024 08:00: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: 75894295-3d10-4316-b71e-a3f77857cb96 X-Archives-Hash: a4c50f567e464e707d26de098ee494a7 commit: 9297e0d6a09441a5964ffad2682f9efe1b5ac9d2 Author: Yixun Lan gentoo org> AuthorDate: Tue Jun 25 07:43:01 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Tue Jun 25 07:52:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9297e0d6 app-i18n/ibus-pinyin: add 1.5.1 Signed-off-by: Yixun Lan gentoo.org> app-i18n/ibus-pinyin/Manifest | 1 + app-i18n/ibus-pinyin/ibus-pinyin-1.5.1.ebuild | 56 +++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/app-i18n/ibus-pinyin/Manifest b/app-i18n/ibus-pinyin/Manifest index b02059bc483c..0e5353911d0c 100644 --- a/app-i18n/ibus-pinyin/Manifest +++ b/app-i18n/ibus-pinyin/Manifest @@ -1 +1,2 @@ DIST ibus-pinyin-1.5.0.tar.gz 692516 BLAKE2B ae53eb79ea4e5336347d689814d8ef033551a9b432268e643927b28911da3d03701acb3f337d7781168461c1c53537f2271fc8f253d1e99a269f61ae5eb83b05 SHA512 b0cd849ee3154543747dde8994eec9aed01d67e0d9be308a2f0230cf22f0281cd8fcabd9763b24238547a37e54400bcd8e541937767b93f005d04302f0c00241 +DIST ibus-pinyin-1.5.1.gh.tar.gz 241963 BLAKE2B 4f7a08c20a311e0dc76bbea87439976a4a26c01fb80be880f3f8ba7fdd9c309011b0cc9bbb63030e6f4e1f0866d4fad8d3324464160ca73ce663e272a042e0eb SHA512 2ad3e7705d3f537135576ceb165a305728739ba2965d8d50f6db8c5043f17f722ca8b42de053cdcb8ff05ef10a7f7c4a0c7f0924beefdfa197225e360c98abd9 diff --git a/app-i18n/ibus-pinyin/ibus-pinyin-1.5.1.ebuild b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.1.ebuild new file mode 100644 index 000000000000..11b12c65352d --- /dev/null +++ b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 2008-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +LUA_COMPAT=( lua5-1 ) +PYTHON_COMPAT=( python3_{10..12} ) + +inherit autotools lua-single python-single-r1 + +DESCRIPTION="Chinese Pinyin and Bopomofo engines for IBus" +HOMEPAGE="https://github.com/ibus/ibus-pinyin" +SRC_URI="https://github.com/ibus/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="boost lua nls" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + lua? ( ${LUA_REQUIRED_USE} )" + +RDEPEND="${PYTHON_DEPS} + app-i18n/pyzy + dev-db/sqlite:3 + $(python_gen_cond_dep ' + app-i18n/ibus[python(+),${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + boost? ( dev-libs/boost ) + lua? ( ${LUA_DEPS} ) + nls? ( virtual/libintl )" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/intltool + dev-build/autoconf-archive + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +pkg_setup() { + python-single-r1_pkg_setup + + if use lua; then + lua-single_pkg_setup + fi +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable boost) \ + $(use_enable lua lua-extension) \ + $(use_enable nls) +}