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

136.6. soxr-0.1.3

SoX Resampler library — one-dimensional sample-rate conversion

0.1.3-1 · LGPL-2.1-or-later · 0.5 SBU · 378.9 KiB, 15 files · 41_system, 140 of 1047 · ports/core/audio-dsp/soxr

Homepage: https://sourceforge.net/projects/soxr/

Depends on: cmake.

Required by (6): audacious-plugins, ffmpeg, freerdp, mpd, tenacity, vlc.

Sources: soxr-0.1.3.tar.xz (92.2 KiB). Every step kpkg takes applies to this port.

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.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install soxr'

build.sh:

cmake -B build -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DBUILD_SHARED_LIBS=ON \
	-DBUILD_TESTS=OFF \
	-DBUILD_EXAMPLES=OFF \
	-DWITH_OPENMP=OFF \
	-DWITH_LSR_BINDINGS=ON \
	-DWITH_VR32=ON \
	-DWITH_CR32=ON \
	-DWITH_CR64=ON \
	-DWITH_CR32S=ON \
	-DWITH_CR64S=ON \
	-DWITH_PFFFT=ON \
	-DWITH_AVFFT=OFF \
	-DWITH_DEV_GPROF=OFF
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libsoxr-lsr.so, libsoxr.so.

Directories: /usr/share/doc/libsoxr, /usr/share/licenses/soxr.