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

263.2. gst-plugins-good-1.28.8

GStreamer "good" plugin set (well-maintained LGPL plugins)

Version 1.28.8, release 1
Shelf media-frameworks — Multimedia frameworks, capture, and media inspection
Phase 43_toolkits (Toolkits), 235 of 344 in build order
Licence LGPL-2.1-or-later
Homepage https://gstreamer.freedesktop.org/
Build time 2.0 SBU
Installed size 8.6 MiB in 71 files
Recipe ports/core/media-frameworks/gst-plugins-good/kpkgbuild

About

The GStreamer “good” plugin set: well-maintained plugins under the LGPL, on top of gst-plugins-base. It carries the common containers (Matroska, MP4, AVI, FLV), RTP and RTSP, the Video4Linux camera source, the PulseAudio sink and source, the HTTP source, the HLS, DASH and Smooth Streaming demuxers, and the decoders and encoders for FLAC, MP3, WavPack, Speex, VP8 and VP9, PNG and JPEG. Browsers built on WebKitGTK, Rhythmbox, Strawberry, Kamoso, Nheko and Dino play and record through it.

Sources

Dependencies

Depends on: gst-plugins-base, libpng, libjpeg-turbo, flac, lame, mpg123, wavpack, libvpx, cairo, bzip2, aalib, libpulse, libxml2, openssl, orc, nasm, libgudev, v4l-utils, libsoup3, twolame, qt6-qtbase, qt6-qtdeclarative, qt6-qtshadertools, qt6-qtwayland, taglib, speex, gdk-pixbuf, gtk3.

Required by (14): audiotube, brasero, dino, gthumb, kamoso, kasts, nheko, qt5-qtmultimedia, rhythmbox, spice-gtk, strawberry, webkitgtk, webkitgtk6, 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/43_toolkits/phase.env && kpkg install gst-plugins-good'

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-good.

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-good
echo 'a7670ed900d3d03be744d25c1873b239896e9a82ce6d17f8febc6fffbaee9521  gst-plugins-good-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-good
SRC=$SRC_ROOT/gst-plugins-good-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-good-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 \
	-Ddoc=disabled \
	-Dexamples=disabled \
	-Dtests=disabled \
	-Dnls=disabled \
	-Dximagesrc=disabled \
	-Dgtk3=enabled \
	-Dqt5=disabled \
	-Dqt6=enabled \
	-Dqt-method=qmake \
	-Dqt-wayland=enabled \
	-Dqt-x11=disabled \
	-Dqt-egl=disabled \
	-Drpicamsrc=disabled \
	-Dv4l2=enabled \
	-Dv4l2-libv4l2=enabled \
	-Dv4l2-gudev=enabled \
	-Dflac=enabled \
	-Dlame=enabled \
	-Dmpg123=enabled \
	-Dwavpack=enabled \
	-Dvpx=enabled \
	-Dpng=enabled \
	-Djpeg=enabled \
	-Dcairo=enabled \
	-Dbz2=enabled \
	-Daalib=enabled \
	-Dpulse=enabled \
	-Dsoup=enabled \
	-Dadaptivedemux2=enabled \
	-Dhls-crypto=openssl \
	-Dorc=enabled \
	-Dorc-compiler=disabled \
	-Dasm=enabled \
	-Dgdk-pixbuf=enabled \
	-Doss=disabled \
	-Doss4=disabled \
	-Djack=disabled \
	-Dlibcaca=disabled \
	-Dshout2=disabled \
	-Dspeex=enabled \
	-Dtaglib=enabled \
	-Dtwolame=enabled \
	-Ddv=disabled \
	-Ddv1394=disabled \
	-Damrnb=disabled \
	-Damrwbdec=disabled
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build
for p in taglib speex gdkpixbuf gtk; do
	test -e "$PKG/usr/lib/gstreamer-1.0/libgst$p.so"
done

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-good, 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-good-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-good, and runs the triggers its paths call for.

Contents

Installed directories: /usr/share/licenses/gst-plugins-good.

Notes

After the install build.sh checks that the taglib, speex, gdkpixbuf and gtk plugins are in the package.