From 70e575f33daf2d506634c6c941fab272dc52219f Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Tue, 11 Jul 2017 18:44:36 +0200 Subject: libtext-wrapi18n-perl: add recipe Text::WrapI18N - Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces between words. It's being strongly recommended by po4a. Signed-off-by: Ming Liu Signed-off-by: Martin Jansa --- .../libtext/libtext-wrapi18n-perl_0.06.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb (limited to 'meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb') diff --git a/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb b/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb new file mode 100644 index 0000000000..b2c239d79b --- /dev/null +++ b/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb @@ -0,0 +1,32 @@ +SUMMARY = "Text::WrapI18N - Line wrapping module with support for multibyte, \ +fullwidth, and combining characters and languages without whitespaces \ +between words." +DESCRIPTION = "This module intends to be a better Text::Wrap module. This module is \ +needed to support multibyte character encodings such as UTF-8, EUC-JP, \ +EUC-KR, GB2312, and Big5. This module also supports characters with \ +irregular widths, such as combining characters (which occupy zero columns \ +on terminal, like diacritical marks in UTF-8) and fullwidth characters \ +(which occupy two columns on terminal, like most of east Asian \ +characters). Also, minimal handling of languages which doesn't use \ +whitespaces between words (like Chinese and Japanese) is supported." +SECTION = "libs" + +HOMEPAGE = "http://search.cpan.org/~kubota/Text-WrapI18N-${PV}/" + +LICENSE = "Artistic-1.0 | GPLv1+" +LIC_FILES_CHKSUM = "file://README;md5=080862e1e40cdcddef4393e137285858" + +SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-WrapI18N-${PV}.tar.gz" + +SRC_URI[md5sum] = "0799c16a00926e6c18d400c2e2861d5f" +SRC_URI[sha256sum] = "4bd29a17f0c2c792d12c1005b3c276f2ab0fae39c00859ae1741d7941846a488" + +S = "${WORKDIR}/Text-WrapI18N-${PV}" + +DEPENDS = "libtext-charwidth-perl" + +RDEPENDS_${PN} = "libtext-charwidth-perl" + +inherit cpan + +BBCLASSEXTEND = "native" -- cgit 1.2.3-korg