From 8435c842b9e8fbb2bcc80397ab3aa655000459e2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Jul 2024 08:05:42 +0100 Subject: gentoo auto-resync : 03:07:2024 - 08:05:42 --- dev-libs/libunibreak/Manifest | 2 ++ dev-libs/libunibreak/libunibreak-6.1.ebuild | 53 +++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 dev-libs/libunibreak/libunibreak-6.1.ebuild (limited to 'dev-libs/libunibreak') diff --git a/dev-libs/libunibreak/Manifest b/dev-libs/libunibreak/Manifest index eb1b5ff9ce45..0592233ffbac 100644 --- a/dev-libs/libunibreak/Manifest +++ b/dev-libs/libunibreak/Manifest @@ -1,6 +1,8 @@ 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 EBUILD libunibreak-5.1.ebuild 1671 BLAKE2B 953046efaa8a6416c90229a61ca0c258189d4c331fde2f9abfc9d1105eeb25c0bcb93301c6bf1dc126cdb89377419f06cffaca14d53542880990ec729af2848a SHA512 b79e72f89d73e3b95dd0094cedacfacf496ee40d3c1e0f58d6737d771642715862d9daa6a7f761b3027b73a371b8091ec7375c2e7da1c4c775bf9b5a8d8cd173 +EBUILD libunibreak-6.1.ebuild 1172 BLAKE2B 7ce0cc120a44cd83d10691aeb79d2ae7d53fedd28fb07f64b66b79f85d93bc254f6e34612f819647073e60f9c2f6e2ae07d4d95871eb4b065301ba1bca13a4b4 SHA512 af238be03d9d40c182390d9136fed0c41babd51925cd6dd4640864ba5d79e116384cb66f1676da9777f7bb00971f8b8daea71d4051e8b72c78ef26c0d9b77530 MISC metadata.xml 641 BLAKE2B 323ca38c518dcc55e98e4cb5b9e0ebe6700c1d5301d6e820cc124312b422e60de44dd5e30d7fc9271f7cd1c07d74c74edcdddd023d1652b00b0be0b1b5eae4c9 SHA512 bca5678a1c2dbc1267c7c206e33a189afb442db796b5fbddad8d061690e70cc1c0661d11ab552c2f982c28c2a4c74c66b417a70bbdf9164da85abcc312a3cc85 diff --git a/dev-libs/libunibreak/libunibreak-6.1.ebuild b/dev-libs/libunibreak/libunibreak-6.1.ebuild new file mode 100644 index 000000000000..1c2b3488b65f --- /dev/null +++ b/dev-libs/libunibreak/libunibreak-6.1.ebuild @@ -0,0 +1,53 @@ +# 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" + +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 +} + +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 +} -- cgit v1.2.3