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

118.20. libyuv-0.0.1971

YUV conversion, scaling and rotation — libavif converts colour through it

0.0.1971-1 · BSD-3-Clause · 0.9 SBU · 2.9 MiB, 28 files · 41_system, 699 of 1047 · ports/core/image-libs/libyuv

Homepage: https://chromium.googlesource.com/libyuv/libyuv/

Depends on: cmake, libjpeg-turbo.

Required by (1): libavif.

Sources: libyuv-0.0.1971.tar.xz (384.2 KiB). Every step kpkg takes applies to this port.

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

build.sh:

mkdir -p build && cd build
cmake .. \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DUNIT_TEST=OFF \
	-DLIBYUV_DISABLE_JPEG=OFF \
	-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON
make
make DESTDIR=$PKG install
rm -f "$PKG/usr/lib/libyuv.a"

Programs: yuvconvert.

Libraries: libyuv.so.

Directories: /usr/include/libyuv, /usr/share/licenses/libyuv.