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

163.6. libdab-0.8.git20260323

The DAB and DAB+ decoder library from dab-cmdline; SDRangel's DAB demodulator

0.8.git20260323-1 · GPL-2.0-or-later · 0.4 SBU · 433.6 KiB, 46 files · 41_system, 918 of 1047 · ports/core/sdr/libdab

Homepage: https://github.com/srcejon/dab-cmdline

Depends on: cmake, ninja, fftw, faad2, zlib.

Required by (1): sdrangel.

Sources: libdab-0.8.git20260323.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 libdab'

build.sh:

_simd=
case "$(uname -m)" in
	x86_64) _simd=-DX64_DEFINED=ON ;;
esac

cmake -S library -B build -G Ninja \
	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DLIB_INSTALL_DIR=lib \
	$_simd \
	-Wno-dev
ninja -C build
DESTDIR=$PKG ninja -C build install

test -f "$PKG/usr/lib/libdab_lib.so"
test -f "$PKG/usr/include/dab_lib/dab-api.h"

Libraries: libdab_lib.so.

Directories: /usr/include/dab_lib, /usr/share/licenses/libdab.