From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1718935-garchives=archives.gentoo.org@lists.gentoo.org> 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1D7791582EF for <garchives@archives.gentoo.org>; Tue, 18 Feb 2025 01:54:12 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id F1FB534311D for <garchives@archives.gentoo.org>; Tue, 18 Feb 2025 01:54:11 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id EDCDB1103A8; Tue, 18 Feb 2025 01:54:10 +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 bobolink.gentoo.org (Postfix) with ESMTPS id DECED1103A8 for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2025 01:54:10 +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 6D6EC34311D for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2025 01:54:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D9A62734 for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2025 01:54:08 +0000 (UTC) From: "Yixun Lan" <dlan@gentoo.org> 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" <dlan@gentoo.org> Message-ID: <1739843616.8b22c4ca16cb5d01539001f7aa85cedf723f3703.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/librime/Manifest app-i18n/librime/librime-1.13.1.ebuild X-VCS-Directories: app-i18n/librime/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 8b22c4ca16cb5d01539001f7aa85cedf723f3703 X-VCS-Branch: master Date: Tue, 18 Feb 2025 01:54:08 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: accfe25b-be50-4684-abfe-7276f17b9b4a X-Archives-Hash: e5c9f5700cc6eb017a1eca3035143c9c commit: 8b22c4ca16cb5d01539001f7aa85cedf723f3703 Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Tue Feb 18 01:08:39 2025 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Tue Feb 18 01:53:36 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b22c4ca app-i18n/librime: add 1.13.1 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> app-i18n/librime/Manifest | 1 + app-i18n/librime/librime-1.13.1.ebuild | 48 ++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest index 56d5eaafcb4a..f5a3c7b971ba 100644 --- a/app-i18n/librime/Manifest +++ b/app-i18n/librime/Manifest @@ -1,2 +1,3 @@ DIST librime-1.12.0.tar.gz 2638566 BLAKE2B cbd734181eb80dd919a0f27d787dd5625974ed8b76e7f294308a7ee1b50ee904ac6460e3da4b3c1ec96c65dcfef011ae8dc6f6db880a21b2ab6fd2c96bfe203e SHA512 46c2d740dea5c0592266c7b3aaff1deba50ff5be6dbab48cc2fd49a5b7b0c9c28d8e0cc858e7d4845b70b7850c1e20ef559525ed3b70da9ad1bd65562f0df400 DIST librime-1.13.0.tar.gz 2639547 BLAKE2B 4698affc24c60a2e54cc830d78517f8f334c91051a72d49341f38e42d1e1da9be0d9e82007b85a554c3cd0883f698ab81ad3d3f7136704e353df9595cb89f485 SHA512 0b9d4c1ee11af4628616003e38b5c6ed66e16b0c353f16b3fc6cf419d99787fb78bf82b027ffdfb16990c84828df166efd61f4a7e2b1c8627bc3a3d5b7c5b557 +DIST librime-1.13.1.tar.gz 2639960 BLAKE2B 3fdeea1d150f68a63469988d2bce87c48a9e2ed04ffb3a7c10d0a27f856c9a6949bba4af5c41e111777044f715b1ed00f0bb8a1fb09382e9ec49412ae271e5f3 SHA512 949d7a94bb498dc1a92aaae5e3216efd25dd0b5d52aaa7f69953ccc63f1bc2590be87636bd85111d0a5222b4ef8e4e152beb45349a9f91df58de2ae631d2b040 diff --git a/app-i18n/librime/librime-1.13.1.ebuild b/app-i18n/librime/librime-1.13.1.ebuild new file mode 100644 index 000000000000..6a3300c65ea0 --- /dev/null +++ b/app-i18n/librime/librime-1.13.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 2012-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake multiprocessing flag-o-matic + +DESCRIPTION="RIME (Rime Input Method Engine) core library" +HOMEPAGE="https://rime.im/ https://github.com/rime/librime" +SRC_URI="https://github.com/rime/librime/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD BSD-2 Boost-1.0 MIT" +SLOT="0/1-${PV}" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="debug test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-i18n/opencc:= + dev-cpp/glog:= + dev-cpp/yaml-cpp:= + >=dev-libs/boost-1.74:= + dev-libs/leveldb:= + dev-libs/marisa +" +DEPEND="${RDEPEND} + test? ( dev-cpp/gtest ) +" + +DOCS=( CHANGELOG.md README.md ) + +src_configure() { + # for glog + if use debug; then + append-cxxflags -DDCHECK_ALWAYS_ON + local CMAKE_BUILD_TYPE=Debug + else + append-cxxflags -DNDEBUG + fi + + local mycmakeargs=( + -DBUILD_TEST=$(usex test) + -DCMAKE_BUILD_PARALLEL_LEVEL=$(makeopts_jobs) + -DENABLE_EXTERNAL_PLUGINS=ON + -DINSTALL_PRIVATE_HEADERS=ON + ) + cmake_src_configure +}