public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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, 30 Nov 2021 09:57:12 +0000 (UTC)	[thread overview]
Message-ID: <1638266205.ab1a2dd83007e53a58bc11a46b87e41b220f7c80.grozin@gentoo> (raw)

commit:     ab1a2dd83007e53a58bc11a46b87e41b220f7c80
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 30 09:56:45 2021 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Tue Nov 30 09:56:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab1a2dd8

dev-libs/libunibreak: bump to 5.0

Closes: https://bugs.gentoo.org/827865
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>

 dev-libs/libunibreak/Manifest               |  1 +
 dev-libs/libunibreak/libunibreak-5.0.ebuild | 54 +++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-libs/libunibreak/Manifest b/dev-libs/libunibreak/Manifest
index 5959d3c3396a..1131c417eabd 100644
--- a/dev-libs/libunibreak/Manifest
+++ b/dev-libs/libunibreak/Manifest
@@ -1 +1,2 @@
 DIST libunibreak-4.3.tar.gz 639886 BLAKE2B ec044b659f1a837b4e6627067b96a6f19ee8302602d635e1e32aab9533486b5cd063aa99114c6443ede9d76d3f382d7492eac8b52b84a4baa2ccd9c2129e79d8 SHA512 4b53fd169912033403b6ca09047b7b928211fab3607ef26070ab731054138b9a291f7d138d3a479f9cde8edb0fabf8da114da68aee32e60cddf45cc3baae1170
+DIST libunibreak-5.0.tar.gz 664105 BLAKE2B 4755f77da7aeece8e43f121e35124f85afa31740394cecc1a192d0b284d8d683765a6a38898f5ffd8a567e2d65a086fdc25a816a77337f242df7be5c14ae6e98 SHA512 33ce584208fea1f2f22dcc49592a467b0fdc04a8b9ed80c97d7ce2058e8d6c919b4a173c9ec3ca38411ffa497d95d2abe207dfc09866f9fcba125867015cf9fb

diff --git a/dev-libs/libunibreak/libunibreak-5.0.ebuild b/dev-libs/libunibreak/libunibreak-5.0.ebuild
new file mode 100644
index 000000000000..f4466edceb68
--- /dev/null
+++ b/dev-libs/libunibreak/libunibreak-5.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+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
+}


             reply	other threads:[~2021-11-30  9:57 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-30  9:57 Andrey Grozin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-25 22:39 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libunibreak/ Andreas Sturmlechner
2024-11-23 12:09 Sam James
2024-11-23 12:09 Sam James
2024-10-04 17:37 Andreas Sturmlechner
2024-09-23 13:23 Andrey Grozin
2024-07-14 18:34 Jakov Smolić
2024-07-02 10:47 Andrey Grozin
2024-07-02  9:44 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-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=1638266205.ab1a2dd83007e53a58bc11a46b87e41b220f7c80.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