diff options
Diffstat (limited to 'dev-libs/libunibreak')
-rw-r--r-- | dev-libs/libunibreak/Manifest | 7 | ||||
-rw-r--r-- | dev-libs/libunibreak/libunibreak-5.1.ebuild | 23 | ||||
-rw-r--r-- | dev-libs/libunibreak/metadata.xml | 3 |
3 files changed, 26 insertions, 7 deletions
diff --git a/dev-libs/libunibreak/Manifest b/dev-libs/libunibreak/Manifest index 00b91538049b..60720aeba75d 100644 --- a/dev-libs/libunibreak/Manifest +++ b/dev-libs/libunibreak/Manifest @@ -1,7 +1,10 @@ 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 +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-4.3.ebuild 1195 BLAKE2B 5bf75bc9bcff1632f31c92b6b1f4d7ed8723c75a8406f37517b33e83e245668b96cc0cbe301107d5c5894dc28d1e73e7e5af4c66eaf99fb4e5742c739fc160a2 SHA512 7f859b573847358cfa86d142d209fe8311e978698c88232698b0612d431d9dbb25d48cbfd8f88fc4b3076c30ae3ef4dec589adb379c59cad12008ba6e10ddfe2 EBUILD libunibreak-5.0-r1.ebuild 1199 BLAKE2B 46072fd0bd8b3a6618f7902459e221ab6d3b97aea91efa90b426a17f413db17a1faee7651c7e7fd2ab7dce5b2ab265112161407ee33e1ed401b9bd9469dc1576 SHA512 4fea4256e1bd90c8003481975f2570f71b80da48786e07ceb553de86f65b0707ebcfee8b30b503025dcfd2c8763508df859d81004326e6736f83f1f4359b153f -EBUILD libunibreak-5.1.ebuild 1199 BLAKE2B d947657fd3bee83ec95c9b250fdbf1aa8cf5a997eee4887347c6b056c49bc9681106588137ea7a23aa488f6a1682dc7b7d5c9cdc5c9321785025098a1385e00f SHA512 48fef1217183ec25a616ee469f4ae786536b2ce0e22e510b5712ccd31ae5797bcd5dd1dd10e800ef4b29b5910438f65e52a8303e54908365c0c2f67f43b0154a -MISC metadata.xml 556 BLAKE2B 81eeae18da2e62a2c70f3483ebbca634be4e9acda776645fb8f231418b8dba875bcadb12db76a5fb8dda85226e8362fc6944b6d038de2195ebaece84861883e9 SHA512 a13a9cf0512fdec4cb1d088a7af53e81b477f3cee9a4f605ffad7c20201e2a3ef09c522228441fffde2d1b100c02f413f7dac8c276ec330ade88347333be931f +EBUILD libunibreak-5.1.ebuild 1665 BLAKE2B 3e4543ef2a0cf279ee9b8b005957af4fda4ce6bf7f2fceff43f912fce4299780d852b51ae406eeda8646c83a35ae7e7e2db0c4cd99bb9657a7238fe89c24170d SHA512 00e1c3b79c02d6291b3e99ca678a95b3a0a0cfc4bcc4f5f0cdeff7a072f2cbe1713082dd9c193f655ae3401b274b52175e371f7403822736cc2caa747c747b45 +MISC metadata.xml 641 BLAKE2B 323ca38c518dcc55e98e4cb5b9e0ebe6700c1d5301d6e820cc124312b422e60de44dd5e30d7fc9271f7cd1c07d74c74edcdddd023d1652b00b0be0b1b5eae4c9 SHA512 bca5678a1c2dbc1267c7c206e33a189afb442db796b5fbddad8d061690e70cc1c0661d11ab552c2f982c28c2a4c74c66b417a70bbdf9164da85abcc312a3cc85 diff --git a/dev-libs/libunibreak/libunibreak-5.1.ebuild b/dev-libs/libunibreak/libunibreak-5.1.ebuild index ee39d6ae81d0..c914a23956fc 100644 --- a/dev-libs/libunibreak/libunibreak-5.1.ebuild +++ b/dev-libs/libunibreak/libunibreak-5.1.ebuild @@ -6,23 +6,36 @@ 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/5" KEYWORDS="~amd64 ~arm ~ppc ~x86" -IUSE="doc +man static-libs" - -# Tests require internet access to www.unicode.org -RESTRICT="test" +IUSE="doc +man static-libs test" +RESTRICT="!test? ( test )" BDEPEND="man? ( app-doc/doxygen )" src_prepare() { + default + if use man; then echo 'GENERATE_MAN=YES' >> Doxyfile || die echo 'GENERATE_HTML=NO' >> Doxyfile || die fi - default + + 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() { diff --git a/dev-libs/libunibreak/metadata.xml b/dev-libs/libunibreak/metadata.xml index 6e8a9edb3969..3618bfe8d2ce 100644 --- a/dev-libs/libunibreak/metadata.xml +++ b/dev-libs/libunibreak/metadata.xml @@ -12,4 +12,7 @@ <use> <flag name="doc">Install html API documentation.</flag> </use> + <upstream> + <remote-id type="github">adah1972/libunibreak</remote-id> + </upstream> </pkgmetadata> |