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

139.9. libbluray-1.5.0

Blu-ray playlists and titles — mpv's bd:// and ffmpeg's bluray: protocol

1.5.0-2 · LGPL-2.1-or-later · 0.1 SBU · 479.2 KiB, 17 files · 41_system, 988 of 1047 · ports/core/video-libs/libbluray

Homepage: https://www.videolan.org/developers/libbluray.html

Why it is in KDOS. The comment above libudfread and libbluray in script/phases/41_system/packages.d/video-libs.txt:

The optical drive, for mpv, mpd, cmus, ffmpeg and GStreamer: Blu-ray (its UDF reader first), DVD with its menus, and audio CDs read with paranoia.

Depends on: meson, ninja, pkgconf, libudfread, libxml2, freetype2, fontconfig.

Required by (5): ffmpeg, gvfs, kodi, mpv, vlc.

Sources: libbluray-1.5.0.tar.xz (462.0 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 libbluray'

build.sh:

meson setup build --prefix=/usr --libdir=lib --buildtype=release \
	-Ddefault_library=shared \
	-Dbdj_jar=disabled \
	-Dfreetype=enabled \
	-Dfontconfig=enabled \
	-Dlibxml2=enabled \
	-Denable_tools=true \
	-Denable_devtools=false \
	-Denable_examples=false \
	-Denable_docs=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Programs: bd_info, bd_list_titles, bd_splice.

Libraries: libbluray.so.

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