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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 44D72158164 for ; Sun, 17 Nov 2024 09:45:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58089E0AF8; Sun, 17 Nov 2024 09:45:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 40C07E0AF8 for ; Sun, 17 Nov 2024 09:45:28 +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 759BD335D77 for ; Sun, 17 Nov 2024 09:45:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D3CDE156C for ; Sun, 17 Nov 2024 09:45:25 +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: <1731836652.01cc26b05fa1e1e015da09823629659a2a8bea72.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.12.0.ebuild X-VCS-Directories: app-i18n/librime/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 01cc26b05fa1e1e015da09823629659a2a8bea72 X-VCS-Branch: master Date: Sun, 17 Nov 2024 09:45:25 +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: fb03afda-1f1b-42aa-a700-70ed1e2ac8ea X-Archives-Hash: ae9990779b874bf292a0d450fcb4b21f commit: 01cc26b05fa1e1e015da09823629659a2a8bea72 Author: Yongxiang Liang gmail com> AuthorDate: Fri Nov 15 11:21:04 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Sun Nov 17 09:44:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01cc26b0 app-i18n/librime: add 1.12.0 Signed-off-by: Yongxiang Liang gmail.com> Signed-off-by: Yixun Lan gentoo.org> app-i18n/librime/Manifest | 1 + app-i18n/librime/librime-1.12.0.ebuild | 48 ++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest index 222df00da0fe..ad7ec3a6f636 100644 --- a/app-i18n/librime/Manifest +++ b/app-i18n/librime/Manifest @@ -1,3 +1,4 @@ DIST librime-1.11.2.tar.gz 2635435 BLAKE2B 6106b6934761fd61508756bfcdfc2b892ee6b31eec9816569e9a6b96fd91cf6255f119de23dac70e8b56f06c52f7bd278d9ad2434419681a18d75e2c14b86077 SHA512 7b8ba708489d4d6bd6f71618f3c3270d07e088aae5ecdfcba5128a456dc49d3799e335b3ba386a1894ee01f5c5a51993e0a1821ff46d8addb02d0c8c4aacf5f3 +DIST librime-1.12.0.tar.gz 2638566 BLAKE2B cbd734181eb80dd919a0f27d787dd5625974ed8b76e7f294308a7ee1b50ee904ac6460e3da4b3c1ec96c65dcfef011ae8dc6f6db880a21b2ab6fd2c96bfe203e SHA512 46c2d740dea5c0592266c7b3aaff1deba50ff5be6dbab48cc2fd49a5b7b0c9c28d8e0cc858e7d4845b70b7850c1e20ef559525ed3b70da9ad1bd65562f0df400 DIST librime-1.7.3.tar.gz 2859513 BLAKE2B 834622860cdc3038d1b983f476bca70f211dfbc3bc2b565a998163e22688841ee3a0c7f9a64bce285e2f3f5b5a9a802bd5506f17904ccb3291babf80d4748fb5 SHA512 8767d17c3d14a5a1bbb8269fab1627b907de72c288b362fdbc6191223937da21e8b18471b4ae8f83ce5afc0ec5c3ab12fbcb49930eb9969c1764c7390d9ee4b0 DIST librime-1.9.0.tar.gz 2628091 BLAKE2B 5026fbe537520679b60b7f39cab65e97e175d574ad709e2b09bb5d71f6655f48f9f046d2caeaad73dcd839f58cd76796eded4deb775d6817a99ab7de107187a1 SHA512 7f432bbfeedc0949391fca82ebf080d113089ec9f0ab40f4bc63cf3037052a27b4ef44e55e7fc43b1217cf6635c62be0fb7520c3cc1492ec169fe5ee864e61ea diff --git a/app-i18n/librime/librime-1.12.0.ebuild b/app-i18n/librime/librime-1.12.0.ebuild new file mode 100644 index 000000000000..30ed5c8e5578 --- /dev/null +++ b/app-i18n/librime/librime-1.12.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2012-2024 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 ~loong ~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 +}