diff mbox series

[meta-oe,30/39] libunibreak: Add recipe

Message ID 20261127041343.1772294-2-khem.raj@oss.qualcomm.com
State New
Headers show
Series None | expand

Commit Message

Khem Raj Nov. 27, 2026, 4:13 a.m. UTC
libunibreak implements the Unicode line breaking (UAX #14) and word
breaking (UAX #29) algorithms. It is needed by taisei 1.4.6, which
now requires it for text line wrapping.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../libunibreak/libunibreak_8.0.1.bb              | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-oe/recipes-support/libunibreak/libunibreak_8.0.1.bb
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/libunibreak/libunibreak_8.0.1.bb b/meta-oe/recipes-support/libunibreak/libunibreak_8.0.1.bb
new file mode 100644
index 0000000000..3df6cca380
--- /dev/null
+++ b/meta-oe/recipes-support/libunibreak/libunibreak_8.0.1.bb
@@ -0,0 +1,15 @@ 
+SUMMARY = "Unicode line breaking and word breaking algorithms library"
+DESCRIPTION = "libunibreak is an implementation of the line breaking and word \
+breaking algorithms as described in Unicode Standard Annex 14 and 29."
+HOMEPAGE = "https://github.com/adah1972/libunibreak"
+SECTION = "libs"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=4ed81deb6876b71d8c62fdb3e09e4776"
+
+SRC_URI = "https://github.com/adah1972/libunibreak/releases/download/libunibreak_${@d.getVar('PV').replace('.', '_')}/libunibreak-${PV}.tar.gz"
+SRC_URI[sha256sum] = "ac0dcc96c395bc86ff7f86f6b91d8b45bc8c39db775f3f1e73f947a11520737b"
+
+UPSTREAM_CHECK_URI = "https://github.com/adah1972/libunibreak/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/libunibreak_(?P<pver>\d+(_\d+)+)$"
+
+inherit autotools pkgconfig