195.2. libsixel-1.10.5
Sixel encoder and decoder library, for pictures in a terminal
1.10.5-1 · MIT · 0.5 SBU · 462.9 KiB, 21 files · 42_graphics, 66 of 189 · ports/core/image-libs/libsixel
Homepage: https://github.com/libsixel/libsixel
Why it is in KDOS. The comment above it in script/phases/42_graphics/packages.d/image-libs.txt:
Pictures in a terminal, on the one graphics protocol a VT understands. It is the honest answer to "show me this image" on tty1, where no compositor is.
Depends on: meson, libjpeg-turbo, libpng, gdk-pixbuf, libgd.
Required by (4): mpv, swayimg, timg, w3m.
Sources: libsixel-1.10.5.tar.gz (4.1 MiB). Every step kpkg takes applies to this port.
Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.
Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install libsixel'
build.sh:
meson setup build --prefix=/usr --libdir=lib --buildtype=release \
-Djpeg=enabled -Dpng=enabled -Dgdk-pixbuf2=enabled -Dgd=enabled \
-Dlibcurl=disabled -Dpython=disabled -Dtests=disabled
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build
install -Dm644 src/sixel.5 -t "$PKG/usr/share/man/man5"
Programs: img2sixel, libsixel-config, sixel2png.
Libraries: libsixel.so.
Directories: /usr/share/licenses/libsixel.