From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/opencc/
Date: Fri, 5 Jul 2024 10:37:04 +0000 (UTC) [thread overview]
Message-ID: <1720175812.622df60e740f250c7e67e01329fa8d34616a9981.arthurzam@gentoo> (raw)
commit: 622df60e740f250c7e67e01329fa8d34616a9981
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 5 10:36:06 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 5 10:36:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=622df60e
app-i18n/opencc: add 1.1.7
Closes: https://bugs.gentoo.org/929325
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-i18n/opencc/Manifest | 1 +
app-i18n/opencc/opencc-1.1.7.ebuild | 59 +++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
diff --git a/app-i18n/opencc/Manifest b/app-i18n/opencc/Manifest
index 41add6d499f7..7d89492fcc76 100644
--- a/app-i18n/opencc/Manifest
+++ b/app-i18n/opencc/Manifest
@@ -1 +1,2 @@
DIST opencc-1.1.4.tar.gz 2806887 BLAKE2B 150fd83818616de42e535f349b2574ff3319e41618e522583a57a00ab08b7f28db6e8f4fa4a0d4dbe027753b5be87065b2015542251986c6301ad441c4bf4c98 SHA512 ab8e7e6a0cc71106cf09eb32899fa8620b946a406f042d75a2444096e0b383cb1993d6c2d12cd7862e71854da4cd5893442bce51df84c32ed09fdfb4a2846f46
+DIST opencc-1.1.7.tar.gz 3311712 BLAKE2B 158a4ea5707ade583d326b0e4441640cbaae2ccb1c89c4ccfaeb8b8dd6f1d427a7f5fcaae7ac0bd6fca3208c65fe24577f6b6ba9c7fec1a499936ef83887d181 SHA512 26e4b12238f853b0fa91f9f0d9af7985bf04a0763185cc3b50b69ba99a2d80091b8c3160176d0d4cd348fbf1a680bfd80dc740dc60c938a256dc2dac8ef49f15
diff --git a/app-i18n/opencc/opencc-1.1.7.ebuild b/app-i18n/opencc/opencc-1.1.7.ebuild
new file mode 100644
index 000000000000..bb06c29d91af
--- /dev/null
+++ b/app-i18n/opencc/opencc-1.1.7.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2010-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake python-any-r1
+
+DESCRIPTION="Library for conversion between Traditional and Simplified Chinese characters"
+HOMEPAGE="https://github.com/BYVoid/OpenCC"
+SRC_URI="https://github.com/BYVoid/OpenCC/archive/ver.${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/OpenCC-ver.${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0/1.1"
+KEYWORDS="~amd64 ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-libs/marisa"
+DEPEND="${RDEPEND}
+ dev-cpp/tclap
+ dev-libs/darts
+ dev-libs/rapidjson
+"
+BDEPEND="${PYTHON_DEPS}
+ doc? ( app-text/doxygen )
+ test? (
+ dev-cpp/gtest
+ !hppa? ( !sparc? ( dev-cpp/benchmark ) )
+ )
+"
+
+DOCS=( AUTHORS NEWS.md README.md )
+
+src_prepare() {
+ rm -r deps || die
+
+ sed -e "s:\${DIR_SHARE_OPENCC}/doc:share/doc/${PF}:" -i doc/CMakeLists.txt || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DOCUMENTATION=$(usex doc)
+ -DENABLE_BENCHMARK=$(if use test && has_version -d dev-cpp/benchmark; then echo ON; else echo OFF; fi)
+ -DENABLE_GTEST=$(usex test)
+ -DUSE_SYSTEM_DARTS=ON
+ -DUSE_SYSTEM_GOOGLE_BENCHMARK=ON
+ -DUSE_SYSTEM_GTEST=ON
+ -DUSE_SYSTEM_MARISA=ON
+ -DUSE_SYSTEM_RAPIDJSON=ON
+ -DUSE_SYSTEM_TCLAP=ON
+ )
+
+ cmake_src_configure
+}
next reply other threads:[~2024-07-05 10:37 UTC|newest]
Thread overview: 77+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-05 10:37 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-14 10:42 [gentoo-commits] repo/gentoo:master commit in: app-i18n/opencc/ Sam James
2025-02-08 1:15 Yixun Lan
2025-02-08 1:15 Yixun Lan
2025-01-05 12:15 WANG Xuerui
2024-12-09 20:16 Sam James
2024-12-09 20:04 Arthur Zamarin
2024-12-09 7:35 Arthur Zamarin
2024-12-09 7:20 Arthur Zamarin
2024-12-09 7:03 Arthur Zamarin
2024-08-27 15:16 Yixun Lan
2024-07-05 10:37 Arthur Zamarin
2023-03-17 13:18 Yixun Lan
2022-08-12 14:27 Sam James
2022-08-03 7:49 Agostino Sarubbo
2022-08-02 19:54 Arthur Zamarin
2022-08-02 16:01 Arthur Zamarin
2022-08-02 16:01 Arthur Zamarin
2022-08-02 16:01 Arthur Zamarin
2022-07-07 13:59 Yixun Lan
2022-06-13 21:30 Jakov Smolić
2022-06-10 6:48 Agostino Sarubbo
2022-06-09 7:37 Agostino Sarubbo
2022-06-09 7:37 Agostino Sarubbo
2022-06-09 7:36 Agostino Sarubbo
2022-06-08 20:04 Arthur Zamarin
2022-05-19 5:08 WANG Xuerui
2022-05-17 12:38 Agostino Sarubbo
2022-03-09 8:59 Jakov Smolić
2022-01-31 20:26 Arthur Zamarin
2022-01-31 18:51 Sam James
2022-01-31 6:24 Sam James
2022-01-30 22:25 Sam James
2022-01-30 22:25 Sam James
2022-01-29 15:20 Yixun Lan
2022-01-29 15:20 Yixun Lan
2022-01-14 11:36 Arthur Zamarin
2021-09-06 21:34 Sam James
2021-09-06 21:34 Sam James
2021-07-27 21:54 Marek Szuba
2021-06-08 7:41 Sam James
2021-03-26 14:38 Mike Gilbert
2021-03-26 14:38 Mike Gilbert
2021-03-26 14:38 Mike Gilbert
2021-03-26 14:38 Mike Gilbert
2020-12-31 1:47 Sam James
2020-12-27 18:39 Mike Gilbert
2020-12-27 18:39 Mike Gilbert
2020-12-27 18:39 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-02-08 12:50 Sergei Trofimovich
2019-12-31 18:08 Aaron Bauman
2019-08-30 18:39 Sergei Trofimovich
2019-08-18 3:06 Aaron Bauman
2017-10-05 9:04 Sergei Trofimovich
2017-09-24 12:29 Sergei Trofimovich
2017-09-24 11:00 Sergei Trofimovich
2017-08-31 19:53 Mike Gilbert
2017-08-23 14:25 Akinori Hattori
2017-08-22 14:21 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-02-15 22:04 Yixun Lan
2017-02-03 21:49 Johannes Huber
2017-02-03 20:08 Jeroen Roovers
2017-02-03 20:05 Jeroen Roovers
2017-01-29 13:55 Agostino Sarubbo
2016-05-27 10:22 Yixun Lan
2015-09-01 18:52 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1720175812.622df60e740f250c7e67e01329fa8d34616a9981.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox