From: "Andrey Grozin" <grozin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libunibreak/
Date: Tue, 2 Jul 2024 09:44:11 +0000 (UTC) [thread overview]
Message-ID: <1719913420.32685055bc8e5bf20b381db18eba9ee5fa6aa239.grozin@gentoo> (raw)
commit: 32685055bc8e5bf20b381db18eba9ee5fa6aa239
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 2 09:43:40 2024 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Tue Jul 2 09:43:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32685055
dev-libs/libunibreak: bump to 6.1
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
dev-libs/libunibreak/Manifest | 1 +
dev-libs/libunibreak/libunibreak-6.1.ebuild | 67 +++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-libs/libunibreak/Manifest b/dev-libs/libunibreak/Manifest
index ebde696ff28f..dd5efae43147 100644
--- a/dev-libs/libunibreak/Manifest
+++ b/dev-libs/libunibreak/Manifest
@@ -1,4 +1,5 @@
DIST libunibreak-5.1.tar.gz 658914 BLAKE2B 005cd37102f4f55616ef0f2273bcb546331f67156c24a003bbb101dc0db091bcb514bffb7cc879f809f6cc71a61674fb722d711d50e55dd8074b01d2d6774d18 SHA512 c7762c0a5212a69de69fde7dcb3281e0d642a27da881337a6b0f71fac84fd097940dc92059d3daaf91dd21ae8b77d835432da058371958d0eb15af30077e2fba
+DIST libunibreak-6.1.tar.gz 855733 BLAKE2B 05963c0131c73e7064dc34a2db88ea121f3ec8a7dbd83adaccbcea61a02af8de6b5a26b39df46f6295a5f6572db20a7c3bf83e882fa99a7a2bbe42b378b26488 SHA512 8ffde29a9b90ddcbfabb61d7302ffe3b17473cd6d30fe1a4403d857e6191291d7e7a6f23bde58654155ed95f4a0f31e082cdf424a82da46722a811291ef38c2f
DIST libunibreak-GraphemeBreakTest.txt 83691 BLAKE2B 5ee2204bd8f4b2bf682f62553832c6f50b542a15b5e8d7d4eda6e35b33d723127a1f5fdb4b8c659ed4c71b5ffa09c5abaf65931116fabe2953193f545efb9a50 SHA512 d619baf8987e7b74c1d6b4b61b25aa7faf17c12b888ffef3f1cab021e668b9767281bdab3161ceaeebaffb758848ae153e01f98801b8a455d86d0d0bcef540ac
DIST libunibreak-LineBreakTest.txt 1085570 BLAKE2B 306ab92a18e38e021baa887a16e70658afe0ab54458d9f6bfeaeb4b2c4cf4d352025b109f336e7ca65884d354185324fa499590c694297a3aded8aa02edfa56d SHA512 3dfafabd1394d4c31ba7ba11e0eea077fd9260714339959bc82ac8383f74692ece32849a7cd8265387780379bea16e30dd038cd168d118573dede96ce15d578e
DIST libunibreak-WordBreakTest.txt 297534 BLAKE2B 261e4582feadfda276c404572ddf33b7b91c9803639cae316e1eaa6dfebfaf748116b345838ee08c05e946efea6ec21de3bcf32eb8b69921051dd06bd04d5ce4 SHA512 54a87ffa10a424b690ed226b411aa66ac5e52c6b34e4f361bfc5dfe14f841ff35d76a98691f62f9257b5c2ced0bfb826a55880f64294d271a06fccb52d20e7d3
diff --git a/dev-libs/libunibreak/libunibreak-6.1.ebuild b/dev-libs/libunibreak/libunibreak-6.1.ebuild
new file mode 100644
index 000000000000..e62036e84d1f
--- /dev/null
+++ b/dev-libs/libunibreak/libunibreak-6.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Line and word breaking library"
+HOMEPAGE="http://vimgadgets.sourceforge.net/libunibreak/"
+SRC_URI="https://github.com/adah1972/${PN}/releases/download/${PN}_$(ver_rs 1- '_')/${P}.tar.gz"
+SRC_URI+="
+ test? (
+ http://www.unicode.org/Public/UNIDATA/auxiliary/LineBreakTest.txt -> ${PN}-LineBreakTest.txt
+ http://www.unicode.org/Public/UNIDATA/auxiliary/WordBreakTest.txt -> ${PN}-WordBreakTest.txt
+ http://www.unicode.org/Public/UNIDATA/auxiliary/GraphemeBreakTest.txt -> ${PN}-GraphemeBreakTest.txt
+ )
+"
+
+LICENSE="ZLIB"
+SLOT="0/6"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+IUSE="doc +man static-libs test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="man? ( app-text/doxygen )"
+
+src_prepare() {
+ default
+
+ if use man; then
+ echo 'GENERATE_MAN=YES' >> Doxyfile || die
+ echo 'GENERATE_HTML=NO' >> Doxyfile || die
+ fi
+
+ if use test; then
+ local file
+ for file in LineBreakTest.txt WordBreakTest.txt GraphemeBreakTest.txt ; do
+ ln -s "${DISTDIR}"/${PN}-${file} "${S}"/src/${file} || die
+ done
+ fi
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_compile() {
+ default
+ if use man; then
+ doxygen || die 'doxygen failed'
+ pushd "${S}"/doc/man > /dev/null
+ mv man3 x || die
+ mkdir man3 || die
+ for h in graphemebreak linebreak linebreakdef unibreakbase unibreakdef wordbreak; do
+ mv x/${h}.h.3 man3/ || die "man ${h} not found"
+ done
+ rm -rf x || die
+ popd > /dev/null
+ fi
+}
+
+src_install() {
+ use doc && HTML_DOCS=( doc/html/. )
+ default
+ find "${D}" -name '*.la' -delete || die
+ if use man; then
+ doman doc/man/man3/*.3
+ fi
+}
next reply other threads:[~2024-07-02 9:44 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-02 9:44 Andrey Grozin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-04 17:37 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libunibreak/ Andreas Sturmlechner
2024-09-23 13:23 Andrey Grozin
2024-07-14 18:34 Jakov Smolić
2024-07-02 10:47 Andrey Grozin
2023-07-21 14:54 Andrey Grozin
2023-07-21 12:35 Arthur Zamarin
2023-07-21 11:26 Arthur Zamarin
2023-05-29 12:04 Andrey Grozin
2023-05-27 6:57 Sam James
2023-05-27 6:57 Sam James
2023-05-09 5:57 Andrey Grozin
2021-12-01 15:54 Sam James
2021-11-30 9:57 Andrey Grozin
2021-05-07 6:37 Andrey Grozin
2021-05-06 23:29 Sam James
2021-05-06 21:19 Sam James
2021-05-06 6:19 Andrey Grozin
2021-02-10 4:35 Andrey Grozin
2020-01-31 13:50 Andrey Grozin
2018-11-11 14:29 Andrey Grozin
2018-03-18 20:30 Mikle Kolyada
2018-01-13 8:52 Andrey Grozin
2017-12-14 19:53 Andrey Grozin
2017-12-14 16:34 Andrey Grozin
2017-12-14 12:10 Andreas Hüttel
2017-12-14 9:41 Andrey Grozin
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=1719913420.32685055bc8e5bf20b381db18eba9ee5fa6aa239.grozin@gentoo \
--to=grozin@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