319.7. audacious-plugins-4.6.1
Audacious decoders, outputs, effects and the Qt interface — without them the player opens no window and plays nothing
| Version | 4.6.1, release 1 |
| Shelf | music-players — Music players, library managers and taggers |
| Phase | 44_apps (Applications), 305 of 422 in build order |
| Licence | BSD-2-Clause AND GPL-2.0-or-later AND GPL-3.0-or-later |
| Homepage | https://audacious-media-player.org/ |
| Build time | 13.3 SBU |
| Installed size | 4.3 MiB in 220 files |
| Recipe | ports/core/music-players/audacious-plugins/kpkgbuild |
About
audacious-plugins is everything audacious plays and shows through: the decoders, the audio outputs, the effects, the visualisations, the playlist formats and the Qt window itself. Without this port the player opens no window and plays nothing. Its interface plugins are built against libaudqt, the Qt support library the audacious port builds; there is no libaudgui, so no GTK plugin can be built.
Sources
audacious-plugins-4.6.1.tar.bz2(1.7 MiB)
sha25622e58a8a2c3f3caa9687434353618c822963cc8846cd239de36d4e8e5bd166a6
upstream: https://distfiles.audacious-media-player.org/audacious-plugins-4.6.1.tar.bz2
archive copy: sources-3/music-players--audacious-plugins-4.6.1.tar.bz2
Dependencies
Depends on: meson, ninja, pkgconf, gettext, audacious, glib, qt6-qtbase, zlib, libxml2, libsamplerate, soxr, alsa-lib, pipewire, ffmpeg, flac, libvorbis, libogg, opusfile, mpg123, faad2, wavpack, libsndfile, libmodplug, fluidsynth, libcdio, libcdio-paranoia, lame, libnotify, gdk-pixbuf, libcue, libsidplayfp, libresidfp, libopenmpt, adplug, libbinio, libbs2b, lirc.
Required by: no port names it.
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.
-Dqt5=false, line 17: qt5-qtbase-Dgtk=false, line 18: gtk3-Dneon=false, line 84: neon-Dladspa=false, line 93: ladspa (explained with the switches below)
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/44_apps/phase.env && kpkg install audacious-plugins'
What kpkg does
kpkg runs these steps, in this order, as root inside the chroot. The port directory is /ports/core/music-players/audacious-plugins.
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/music-players/audacious-plugins
echo '22e58a8a2c3f3caa9687434353618c822963cc8846cd239de36d4e8e5bd166a6 audacious-plugins-4.6.1.tar.bz2' | 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/audacious-plugins
SRC=$SRC_ROOT/audacious-plugins-4.6.1
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf audacious-plugins-4.6.1.tar.bz2 -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 \
--libdir=lib \
--buildtype=release \
-Dqt=true \
-Dqt5=false \
-Dgtk=false \
-Dgtk2=false \
-Dqtui=true \
-Dskins=true \
-Dasx=true \
-Dasx3=true \
-Dm3u=true \
-Dpls=true \
-Dxspf=true \
-Dgio=true \
-Daac=true \
-Damidiplug=true \
-Dcdaudio=true \
-Dconsole=true \
-Dffaudio=true \
-Dflac=true \
-Dmetronome=true \
-Dmodplug=true \
-Dmpg123=true \
-Dopus=true \
-Dpsf=true \
-Dsndfile=true \
-Dtonegen=true \
-Dvorbis=true \
-Dvtx=true \
-Dwavpack=true \
-Dxsf=true \
-Dalsa=true \
-Dpipewire=true \
-Dfilewriter=true \
-Dfilewriter-flac=true \
-Dfilewriter-mp3=true \
-Dfilewriter-ogg=true \
-Dalbumart=true \
-Ddelete-files=true \
-Dfilebrowser=true \
-Dmpris2=true \
-Dnotify=true \
-Dplayback-history=true \
-Dplaylist-manager=true \
-Dsearchtool=true \
-Dsongchange=true \
-Dsonginfo=true \
-Dstatusicon=true \
-Dbackground-music=true \
-Dbitcrusher=true \
-Dcompressor=true \
-Dcrossfade=true \
-Dcrystalizer=true \
-Decho=true \
-Dmixer=true \
-Dresample=true \
-Dsilence-removal=true \
-Dsoxr=true \
-Dspeedpitch=true \
-Dstereo=true \
-Dvoice-removal=true \
-Dblurscope=true \
-Dgl-spectrum=true \
-Dspectrum-analyzer=true \
-Dvumeter=true \
-Dscrobbler2=false \
-Dlyrics=false \
-Dstreamtuner=false \
-Dampache=false \
-Dcdaudio-cddb=false \
-Dneon=false \
-Dmms=false \
-Dcue=true \
-Dsid=true \
-Dopenmpt=true \
-Dadplug=true \
-Dbs2b=true \
-Dlirc=true \
-Dhotkey=false \
-Dladspa=false \
-Daosd=false \
-Dgtkui=false \
-Dpulse=false \
-Dsdlout=false \
-Dqtaudio=false \
-Doss=false \
-Dsndio=false \
-Djack=false \
-Dcoreaudio=false \
-Dmac-now-playing=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build
The switches, and why each is set:
Every plugin is a meson boolean, almost all of them true by default. A plugin switched on whose library is missing is still dropped, with only a line in meson’s summary, so that summary is where a missing dependency shows. The recipe names every one, so the set it asks for is explicit.
-Dqt=true— with-Dqt5=false,-Dgtk=falseand-Dgtk2=false: build the Qt 6 plugins and no GTK ones, matching the audacious port, which buildslibaudqtand notlibaudgui. The GTK-only plugins (the GTK interface, the LADSPA host and the on-screen display) go with them.-Dqtui=true— with-Dskins=true: the Qt interface and the Winamp-skinned one.-Dasx=true— this switch and every othertrueswitch after it inbuild.sh: the playlist formats (ASX, M3U, PLS, XSPF, cue sheets), GIO transports (FTP, SFTP, SMB, MTP), the decoders (raw AAC through faad2, MIDI through fluidsynth, audio CD, game music, FFmpeg, FLAC, ModPlug, mpg123, Opus, PlayStation and Nintendo DS sound, libsndfile, Vorbis, Vortex, WavPack, SID, OpenMPT and AdPlug), the tone and tact generators, the ALSA and PipeWire outputs, the file writer with its FLAC, MP3 and Ogg encoders, the general plugins (album art, MPRIS 2, notifications, the status icon, the playlist manager, search and the rest), every effect, libbs2b’s crossfeed, LIRC remotes, and the four visualisations.-Dsid=true— the SID plugin needs libsidplayfp built against libresidfp; without it meson drops the plugin with only a warning.-Dpipewire=true— PipeWire is the output, with-Dalsa=trueas the fallback.-Dpulse=false,-Dsdlout=falseand-Dqtaudio=falseleave out outputs that reach the same sound server through another library,-Doss=falseand-Dsndio=falsethe OSS and sndio outputs,-Djack=falsethe JACK output, and-Dcoreaudio=falseand-Dmac-now-playing=falsethe macOS plugins.-Dscrobbler2=false— with-Dlyrics=false,-Dstreamtuner=false,-Dampache=false,-Dcdaudio-cddb=false,-Dneon=falseand-Dmms=false: plugins that work only online (Last.fm scrobbling, lyrics sites, radio directories, Ampache, CDDB lookups) and the HTTP and MMS stream transports.-Dhotkey=false— no global hotkey plugin. It grabs keys on an X server, which a Wayland session never hands it.-Dladspa=false— with-Daosd=falseand-Dgtkui=false: the GTK-only plugins, named off.
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/audacious-plugins, 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 audacious-plugins-4.6.1-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/audacious-plugins, and runs the triggers its paths call for.
Contents
Installed directories: /usr/lib/audacious, /usr/share/audacious/Skins, /usr/share/licenses/audacious-plugins.