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

136.24. stk-5.0.1

The Synthesis ToolKit — C++ physical-model and signal-processing instruments, with their rawwave samples

5.0.1-1 · MIT · 0.4 SBU · 1.9 MiB, 148 files · 41_system, 161 of 1047 · ports/core/audio-dsp/stk

Homepage: https://ccrma.stanford.edu/software/stk/

Depends on: autoconf, automake, alsa-lib, libpulse.

Required by (1): lmms.

Sources: stk-5.0.1.tar.gz (1.2 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 stk'

build.sh:

aclocal -I m4
autoconf
RAWWAVE_PATH=/usr/share/stk/rawwaves/ \
./configure --prefix=/usr --libdir=/usr/lib \
	--enable-shared \
	--disable-static \
	--with-alsa \
	--with-pulse \
	--without-jack

stkflags="$CXXFLAGS -O3 -Wall -I../include -Iinclude -fPIC"
make -C src CFLAGS="$stkflags"
make -C src CFLAGS="$stkflags" DESTDIR=$PKG install

install -d "$PKG/usr/share/stk/rawwaves"
install -m644 rawwaves/*.raw "$PKG/usr/share/stk/rawwaves/"

Libraries: libstk-5.0.0.so, libstk.so.

Directories: /usr/include/stk, /usr/share/licenses/stk, /usr/share/stk.