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

140.3. libzen-0.4.41

ZenLib, the portability layer libmediainfo is written on

0.4.41-1 · Zlib · 0.2 SBU · 583.8 KiB, 38 files · 41_system, 753 of 1047 · ports/core/media-frameworks/libzen

Homepage: https://github.com/MediaArea/ZenLib

Why it is in KDOS. The comment above the 3 ports from libzen to mediainfo in script/phases/41_system/packages.d/media-frameworks.txt:

Codec, profile, bit depth and every track, which is the question ffprobe answers in a page and this answers in a line.

Depends on: cmake.

Required by (2): libmediainfo, mediainfo.

Sources: libzen-0.4.41.tar.gz (154.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 libzen'

build.sh:

cd Project/CMake
cmake . -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \
	-DBUILD_SHARED_LIBS=ON
make
make DESTDIR=$PKG install

Libraries: libzen.so.

Directories: /usr/include/ZenLib, /usr/lib/cmake/zenlib, /usr/share/licenses/libzen.