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

202.2. portaudio-19.7.0

Portable real-time audio I/O library, with its C++ binding, over ALSA and JACK

19.7.0-1 · MIT · 0.9 SBU · 375.2 KiB, 31 files · 42_graphics, 55 of 189 · ports/core/audio-io/portaudio

Homepage: https://www.portaudio.com/

Why it is in KDOS. The comment above it in script/phases/42_graphics/packages.d/audio-io.txt:

Here and not in 41_system because its JACK host API links pipewire's libjack.

PortAudio is a portable C library for real-time audio input and output, with a C++ binding. Programs that use it, such as Audacity, reach the sound card through one of its host APIs; this build has two, ALSA and JACK. PipeWire serves both: ALSA through PipeWire’s ALSA plugin, and JACK through the libjack that pipewire installs, which is why the port is listed in 42_graphics after pipewire and not in 41_system. Audacity, Tenacity, LMMS, GNU Radio, Octave and fldigi are among the ports that link it.

Depends on: pkgconf, alsa-lib, pipewire.

Required by (10): audacity, fldigi, furnace, gnuradio, lirc, lmms, octave, opencpn, satdump, tenacity.

Sources: portaudio-19.7.0.tar.gz (1.4 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install portaudio'

build.sh:

./configure --prefix=/usr --libdir=/usr/lib --disable-static \
	--with-alsa --with-jack --without-oss --without-asihpi \
	--enable-cxx
grep -q 'src/hostapi/jack/pa_jack.o' Makefile

make -j1
make -j1 DESTDIR=$PKG install

Libraries: libportaudio.so, libportaudiocpp.so.

Directories: /usr/include/portaudiocpp, /usr/share/licenses/portaudio.