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: Thu, 14 Dec 2017 09:41:10 +0000 (UTC)	[thread overview]
Message-ID: <1513244409.8b4ea0f6d2bed140116f69855d1d3100ea0cf020.grozin@gentoo> (raw)

commit:     8b4ea0f6d2bed140116f69855d1d3100ea0cf020
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 14 09:40:09 2017 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Dec 14 09:40:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b4ea0f6

dev-libs/libunibreak: initial import

Reported-by: Johannes Janssen <mail <AT> johannes-janssen.de>
Closes: https://bugs.gentoo.org/640968
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-libs/libunibreak/Manifest               |  1 +
 dev-libs/libunibreak/libunibreak-4.0.ebuild | 39 +++++++++++++++++++++++++++++
 dev-libs/libunibreak/metadata.xml           | 14 +++++++++++
 3 files changed, 54 insertions(+)

diff --git a/dev-libs/libunibreak/Manifest b/dev-libs/libunibreak/Manifest
new file mode 100644
index 00000000000..487fd898f5d
--- /dev/null
+++ b/dev-libs/libunibreak/Manifest
@@ -0,0 +1 @@
+DIST libunibreak-4.0.tar.gz 629403 SHA256 f7329bef1eb169d3363f040cefcc323cfd0a0bc53290a35a395e1d1adc849539 SHA512 43da73f66fabd8fdef444c5a06ad1800464a0aeab590938522d6c19973950a242f2ccc0575a93d10d87bdcf82610452117ac081ddb73f47271a8c2a65897e11c WHIRLPOOL ad71bc5910ca3dff994651022a5a6c6093cd4023852270fa243848f7576287b7cec4ad02a6b27686149491cb52824a93fdb6a6dac4c878d67db2f4041282d300

diff --git a/dev-libs/libunibreak/libunibreak-4.0.ebuild b/dev-libs/libunibreak/libunibreak-4.0.ebuild
new file mode 100644
index 00000000000..f531bb66e38
--- /dev/null
+++ b/dev-libs/libunibreak/libunibreak-4.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit versionator
+
+DESCRIPTION="Line and word breaking library"
+HOMEPAGE="http://vimgadgets.sourceforge.net/libunibreak/"
+SRC_URI="https://github.com/adah1972/${PN}/releases/download/${PN}_$(replace_all_version_separators '_')/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="doc +man static-libs"
+
+DEPEND="man? ( app-doc/doxygen )"
+RDEPEND="!dev-libs/liblinebreak"
+
+src_prepare() {
+	use man && echo -e 'GENERATE_MAN=YES\nGENERATE_HTML=NO' >> Doxyfile
+	default
+}
+
+src_configure() {
+	econf \
+		$(use_enable static-libs static)
+	use doc && export HTML_DOCS=( doc/html/. )
+}
+
+src_compile() {
+	default
+	use man && doxygen || die
+}
+
+src_install() {
+	default
+	prune_libtool_files
+	use man && find "${D}/usr/include" -type f -execdir doman "${S}/doc/man/man3/{}.3" \;
+}

diff --git a/dev-libs/libunibreak/metadata.xml b/dev-libs/libunibreak/metadata.xml
new file mode 100644
index 00000000000..a8bbb441f29
--- /dev/null
+++ b/dev-libs/libunibreak/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<!-- maintainer-needed -->
+	<longdescription lang="en">
+		Libunibreak is an implementation of the line breaking and word breaking algorithms
+		as described in Unicode Standard Annex 14 and Unicode Standard Annex 29. It is
+		designed to be used in a generic text renderer.
+	</longdescription>
+	<use>
+		<flag name="man">Generate man pages with doxygen.</flag>
+		<flag name="doc">Install html API documentation.</flag>
+	</use>
+</pkgmetadata>


             reply	other threads:[~2017-12-14  9:41 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-14  9:41 Andrey Grozin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-14 12:10 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libunibreak/ Andreas Hüttel
2017-12-14 16:34 Andrey Grozin
2017-12-14 19:53 Andrey Grozin
2018-01-13  8:52 Andrey Grozin
2018-03-18 20:30 Mikle Kolyada
2018-11-11 14:29 Andrey Grozin
2020-01-31 13:50 Andrey Grozin
2021-02-10  4:35 Andrey Grozin
2021-05-06  6:19 Andrey Grozin
2021-05-06 21:19 Sam James
2021-05-06 23:29 Sam James
2021-05-07  6:37 Andrey Grozin
2021-11-30  9:57 Andrey Grozin
2021-12-01 15:54 Sam James
2023-05-09  5:57 Andrey Grozin
2023-05-27  6:57 Sam James
2023-05-27  6:57 Sam James
2023-05-29 12:04 Andrey Grozin
2023-07-21 11:26 Arthur Zamarin
2023-07-21 12:35 Arthur Zamarin
2023-07-21 14:54 Andrey Grozin
2024-07-02  9:44 Andrey Grozin
2024-07-02 10:47 Andrey Grozin
2024-07-14 18:34 Jakov Smolić
2024-09-23 13:23 Andrey Grozin
2024-10-04 17:37 Andreas Sturmlechner
2024-11-23 12:09 Sam James
2024-11-23 12:09 Sam James
2024-11-25 22:39 Andreas Sturmlechner

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=1513244409.8b4ea0f6d2bed140116f69855d1d3100ea0cf020.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