Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

127.6. libunibreak-8.0

Unicode line, word and grapheme breaking — where libass may wrap a subtitle

8.0-1 · Zlib · 0.1 SBU · 163.3 KiB, 10 files · 41_system, 676 of 1047 · ports/core/i18n/libunibreak

Homepage: https://github.com/adah1972/libunibreak

Why it is in KDOS. The comment above the 3 ports from libunibreak to libthai in script/phases/41_system/packages.d/i18n.txt:

Where a line of text may break: libunibreak for libass's subtitles (UAX #14), and libthai over libdatrie's trie for pango, because Thai has no spaces between words.

Depends on: pkgconf.

Required by (2): krita, libass.

Sources: libunibreak-8.0.tar.gz (1.0 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libunibreak'

build.sh:

./configure --prefix=/usr --libdir=/usr/lib --disable-static
make
make DESTDIR=$PKG install

Libraries: libunibreak.so.

Directories: /usr/share/licenses/libunibreak.