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

207.3. gst-plugins-base-1.28.8

GStreamer base plugin set (provides gstreamer-pbutils, audio/video conversion, file I/O)

Version 1.28.8, release 1
Shelf media-frameworks — Multimedia frameworks, capture, and media inspection
Phase 42_graphics (Graphics Stack), 39 of 189 in build order
Licence LGPL-2.1-or-later
Homepage https://gstreamer.freedesktop.org/
Build time 1.0 SBU
Installed size 14.1 MiB in 316 files
Recipe ports/core/media-frameworks/gst-plugins-base/kpkgbuild

About

gst-plugins-base is GStreamer’s base set: the libraries every other plugin set builds on (gstreamer-audio, -video, -pbutils, -tag, -rtp, -rtsp, -sdp, -app, -allocators and the OpenGL integration library gstreamer-gl) and the elements most pipelines need: playbin and decodebin, audio and video conversion and scaling, Ogg, Vorbis, Opus and Theora, Pango text overlays, ALSA, and the OpenGL elements. It is built on gstreamer and drawn through Wayland, EGL and DRM only.

Sources

Dependencies

Depends on: gstreamer, alsa-lib, pango, cairo, libdrm, wayland, wayland-protocols, mesa, libglvnd, libgudev, libogg, libvorbis, libtheora, graphene, opus, libjpeg-turbo, libpng, iso-codes, orc, zlib, gobject-introspection, glib-introspection.

Required by (29): audiotube, brasero, dino, gst-libav, gst-plugins-bad, gst-plugins-good, gst-plugins-ugly, gthumb, gtk4, kamoso, kasts, libcamera, libreoffice, nheko, opencv, orcaslicer, pipewire, qt5-qtmultimedia, qt6-qtmultimedia, rhythmbox, spice, spice-gtk, strawberry, webkitgtk, webkitgtk6, wine, wxwidgets, xdg-desktop-portal, xfburn.

Optional, off in KDOS

These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Installation

From the repository root, inside the build container, this is the line kdosbuild runs for the port:

script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install gst-plugins-base'

What kpkg does

kpkg runs these steps, in this order, as root inside the chroot. The port directory is /ports/core/media-frameworks/gst-plugins-base.

1. Verify every declared source. Each file a sha256 = line names, found in the port directory or in /var/cache/kpkg/sources, must hash to its line; a mismatch stops the build before anything is unpacked.

cd /ports/core/media-frameworks/gst-plugins-base
echo 'ade70e3381fcbb024f1f20aa9ede9b5654aeed39d5bd70b1a98f53015e501117  gst-plugins-base-1.28.8.tar.xz' | sha256sum -c -

2. Unpack. The work directory is emptied and the first source is unpacked into $SRC with its top directory stripped; any later tarball lands unstripped beside it in $SRC_ROOT, and a file that is not a tarball is copied into $SRC.

SRC_ROOT=/var/cache/kpkg/work/gst-plugins-base
SRC=$SRC_ROOT/gst-plugins-base-1.28.8
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf gst-plugins-base-1.28.8.tar.xz -C "$SRC" --strip-components=1

Every config.guess and config.sub older than automake’s is then replaced with automake’s, so a configure script recognises the musl target.

3. Build. build.sh is sourced in a subshell under set -e, from $SRC, with name, version, release and the five paths PKGNAME, PORT_SRC, SRC_ROOT, SRC and PKG set as shell variables. Its body, verbatim:

meson setup build \
	--prefix=/usr --sysconfdir=/etc --libdir=lib --libexecdir=/usr/lib \
	--buildtype=release \
	-Dintrospection=enabled \
	-Ddoc=disabled \
	-Dexamples=disabled \
	-Dtests=disabled \
	-Dnls=disabled \
	-Dx11=disabled \
	-Dxshm=disabled \
	-Dxvideo=disabled \
	-Dxi=disabled \
	-Dqt5=disabled \
	-Dgl=enabled \
	-Dgl_api=opengl,gles2 \
	-Dgl_platform=egl \
	-Dgl_winsys=wayland,egl,surfaceless,gbm \
	-Dgl-jpeg=enabled \
	-Dgl-png=enabled \
	-Dgl-graphene=enabled \
	-Ddrm=enabled \
	-Dalsa=enabled \
	-Dogg=enabled \
	-Dvorbis=enabled \
	-Dopus=enabled \
	-Dpango=enabled \
	-Diso-codes=enabled \
	-Dorc=enabled \
	-Dorc-compiler=disabled \
	-Dtheora=enabled \
	-Dtremor=disabled \
	-Dcdparanoia=disabled \
	-Dlibvisual=disabled
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

The switches, and why each is set:

The common switches of each build system are explained in the Flag glossary.

4. Package. kpkg removes libtool archives, the info directory index, mimeinfo.cache and every fonts.dir from $PKG, copies the source’s licence files into /usr/share/licenses/gst-plugins-base, prunes what the image does not ship, lints the tree and rolls it reproducibly:

tar --sort=name --format=gnu --numeric-owner --owner=0 --group=0 \
    --mtime=@$SOURCE_DATE_EPOCH \
    --use-compress-program='xz -9 -T0 --block-size=32MiB --no-adjust' \
    -cf gst-plugins-base-1.28.8-1.tar.xz -C "$PKG" .

5. Adopt. kpkgadd installs the package’s files over the root, refusing a path another package owns, records the file list in /var/lib/kpkg/db/gst-plugins-base, and runs the triggers its paths call for.

Contents

Installed programs: gst-device-monitor-1.0, gst-discoverer-1.0, gst-play-1.0.

Installed libraries: libgstallocators-1.0.so, libgstapp-1.0.so, libgstaudio-1.0.so, libgstfft-1.0.so, libgstgl-1.0.so, libgstpbutils-1.0.so, libgstriff-1.0.so, libgstrtp-1.0.so, libgstrtsp-1.0.so, libgstsdp-1.0.so, libgsttag-1.0.so, libgstvideo-1.0.so.

Installed directories: /usr/include/gstreamer-1.0/gst/allocators, /usr/include/gstreamer-1.0/gst/app, /usr/include/gstreamer-1.0/gst/fft, /usr/include/gstreamer-1.0/gst/gl, /usr/include/gstreamer-1.0/gst/pbutils, /usr/include/gstreamer-1.0/gst/riff, /usr/include/gstreamer-1.0/gst/rtp, /usr/include/gstreamer-1.0/gst/rtsp, /usr/include/gstreamer-1.0/gst/sdp, /usr/include/gstreamer-1.0/gst/tag, /usr/include/gstreamer-1.0/gst/video, /usr/lib/gstreamer-1.0/include, /usr/share/gst-plugins-base, /usr/share/licenses/gst-plugins-base.

Short descriptions

gst-device-monitor-1.0 Simple command line testing tool for GStreamer device monitors
gst-discoverer-1.0 Display file metadata and stream information
gst-play-1.0 Simple command line playback testing tool
gstreamer-allocators-1.0.pc Allocators implementation
gstreamer-app-1.0.pc Helper functions and base classes for application integration
gstreamer-audio-1.0.pc Audio helper functions and base classes
gstreamer-fft-1.0.pc FFT implementation
gstreamer-gl-1.0.pc Streaming media framework, OpenGL plugins libraries
gstreamer-gl-egl-1.0.pc Streaming media framework, OpenGL plugins libraries (EGL specifics)
gstreamer-gl-prototypes-1.0.pc Streaming media framework, OpenGL plugins libraries (OpenGL Prototypes)
gstreamer-gl-wayland-1.0.pc Streaming media framework, OpenGL plugins libraries (Wayland specifics)
gstreamer-pbutils-1.0.pc General utility functions
gstreamer-plugins-base-1.0.pc Streaming media framework, base plugins libraries
gstreamer-riff-1.0.pc RIFF helper functions
gstreamer-rtp-1.0.pc RTP base classes and helper functions
gstreamer-rtsp-1.0.pc RTSP base classes and helper functions
gstreamer-sdp-1.0.pc SDP helper functions
gstreamer-tag-1.0.pc Tag base classes and helper functions
gstreamer-video-1.0.pc Video base classes and helper functions