From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1516806-garchives=archives.gentoo.org@lists.gentoo.org> 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 956F9158649 for <garchives@archives.gentoo.org>; Tue, 9 May 2023 05:57:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0DE3E0845; Tue, 9 May 2023 05:57:43 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 B6B9AE0845 for <gentoo-commits@lists.gentoo.org>; Tue, 9 May 2023 05:57:43 +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 03FEC340DB1 for <gentoo-commits@lists.gentoo.org>; Tue, 9 May 2023 05:57:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9399D990 for <gentoo-commits@lists.gentoo.org>; Tue, 9 May 2023 05:57:41 +0000 (UTC) From: "Andrey Grozin" <grozin@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, "Andrey Grozin" <grozin@gentoo.org> Message-ID: <1683611848.dc39d75484798088034a3904446b05e1c28ba91e.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libunibreak/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libunibreak/Manifest dev-libs/libunibreak/libunibreak-5.1.ebuild X-VCS-Directories: dev-libs/libunibreak/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: dc39d75484798088034a3904446b05e1c28ba91e X-VCS-Branch: master Date: Tue, 9 May 2023 05:57:41 +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: 6e6dd784-7855-4352-b574-613f94bfe649 X-Archives-Hash: 0ae06c94cf6039fed7b0d896c75248b3 commit: dc39d75484798088034a3904446b05e1c28ba91e Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> AuthorDate: Tue May 9 05:57:28 2023 +0000 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> CommitDate: Tue May 9 05:57:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc39d754 dev-libs/libunibreak: bump to 5.1 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> dev-libs/libunibreak/Manifest | 1 + dev-libs/libunibreak/libunibreak-5.1.ebuild | 54 +++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-libs/libunibreak/Manifest b/dev-libs/libunibreak/Manifest index 1131c417eabd..6d9ac523642c 100644 --- a/dev-libs/libunibreak/Manifest +++ b/dev-libs/libunibreak/Manifest @@ -1,2 +1,3 @@ DIST libunibreak-4.3.tar.gz 639886 BLAKE2B ec044b659f1a837b4e6627067b96a6f19ee8302602d635e1e32aab9533486b5cd063aa99114c6443ede9d76d3f382d7492eac8b52b84a4baa2ccd9c2129e79d8 SHA512 4b53fd169912033403b6ca09047b7b928211fab3607ef26070ab731054138b9a291f7d138d3a479f9cde8edb0fabf8da114da68aee32e60cddf45cc3baae1170 DIST libunibreak-5.0.tar.gz 664105 BLAKE2B 4755f77da7aeece8e43f121e35124f85afa31740394cecc1a192d0b284d8d683765a6a38898f5ffd8a567e2d65a086fdc25a816a77337f242df7be5c14ae6e98 SHA512 33ce584208fea1f2f22dcc49592a467b0fdc04a8b9ed80c97d7ce2058e8d6c919b4a173c9ec3ca38411ffa497d95d2abe207dfc09866f9fcba125867015cf9fb +DIST libunibreak-5.1.tar.gz 658914 BLAKE2B 005cd37102f4f55616ef0f2273bcb546331f67156c24a003bbb101dc0db091bcb514bffb7cc879f809f6cc71a61674fb722d711d50e55dd8074b01d2d6774d18 SHA512 c7762c0a5212a69de69fde7dcb3281e0d642a27da881337a6b0f71fac84fd097940dc92059d3daaf91dd21ae8b77d835432da058371958d0eb15af30077e2fba diff --git a/dev-libs/libunibreak/libunibreak-5.1.ebuild b/dev-libs/libunibreak/libunibreak-5.1.ebuild new file mode 100644 index 000000000000..ee39d6ae81d0 --- /dev/null +++ b/dev-libs/libunibreak/libunibreak-5.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 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" + +LICENSE="ZLIB" +SLOT="0/5" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="doc +man static-libs" + +# Tests require internet access to www.unicode.org +RESTRICT="test" + +BDEPEND="man? ( app-doc/doxygen )" + +src_prepare() { + if use man; then + echo 'GENERATE_MAN=YES' >> Doxyfile || die + echo 'GENERATE_HTML=NO' >> Doxyfile || die + fi + default +} + +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 +}