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

139.17. libmatroska-1.7.2

Matroska and WebM container library — VLC's and MKVToolNix's .mkv reader

1.7.2-1 · LGPL-2.1-or-later · 0.4 SBU · 1.0 MiB, 39 files · 41_system, 996 of 1047 · ports/core/video-libs/libmatroska

Homepage: https://github.com/Matroska-Org/libmatroska

Depends on: cmake, ninja, libebml.

Required by (3): mkvtoolnix, tenacity, vlc.

Sources: libmatroska-1.7.2.tar.xz (61.5 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 libmatroska'

build.sh:

cmake -S . -B build -G Ninja \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_INSTALL_LIBDIR=lib \
	-DBUILD_SHARED_LIBS=ON \
	-DBUILD_EXAMPLES=OFF \
	-DDISABLE_PKGCONFIG=OFF \
	-DDISABLE_CMAKE_CONFIG=OFF
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libmatroska.so.

Directories: /usr/include/matroska, /usr/lib/cmake/Matroska, /usr/share/licenses/libmatroska.