meta-openembedded/meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb
Alexander Kanavin fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00

27 lines
1.1 KiB
BlitzBasic

SUMMARY = "Text::CharWidth - Get number of occupied columns of a string on terminal."
DESCRIPTION = "This module supplies features similar as wcwidth(3) and wcswidth(3) \
in C language. \
Characters have its own width on terminal depending on locale. For \
example, ASCII characters occupy one column per character, east Asian \
fullwidth characters (like Hiragana or Han Ideograph) occupy two columns \
per character, and combining characters (apperaring in ISO-8859-11 Thai, \
Unicode, and so on) occupy zero columns per character. mbwidth() gives the \
width of the first character of the given string and mbswidth() gives the \
width of the whole given string."
SECTION = "libs"
HOMEPAGE = "https://metacpan.org/release/KUBOTA/Text-CharWidth-0.04"
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://README;md5=d8d54c8c500cbdd57a4c15911d9d96db"
SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-CharWidth-${PV}.tar.gz"
SRC_URI[sha256sum] = "abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8"
S = "${UNPACKDIR}/Text-CharWidth-${PV}"
inherit cpan
BBCLASSEXTEND = "native"