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

139.15. libtheora-1.2.0

The Theora video codec, the one in Ogg video files

1.2.0-1 · BSD-3-Clause · 0.1 SBU · 1017.3 KiB, 21 files · 41_system, 994 of 1047 · ports/core/video-libs/libtheora

Homepage: https://www.theora.org/

Depends on: pkgconf, libogg.

Required by (9): gst-plugins-base, handbrake, love, openmsx, scummvm, vlc, vtk, warzone2100, xonotic.

Sources: libtheora-1.2.0.tar.xz (1.7 MiB). Every step kpkg takes applies to this port.

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

build.sh:

export CFLAGS="${CFLAGS/-O2/-O3}"

./configure --prefix=/usr --libdir=/usr/lib --disable-static \
	--disable-examples --disable-spec --disable-doc
make
make DESTDIR=$PKG install
rm -r "$PKG/usr/share/doc/libtheora/html" "$PKG/usr/share/doc/libtheora/latex" \
	"$PKG/usr/share/doc/libtheora/doxygen-build.stamp"

Libraries: libtheora.so, libtheoradec.so, libtheoraenc.so.

Directories: /usr/include/theora, /usr/share/doc/libtheora, /usr/share/licenses/libtheora.