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

163.12. dsdcc-1.9.6

Digital voice decoder for D-STAR, DMR, dPMR, NXDN and YSF, and the dsdccx tool

1.9.6-2 · GPL-3.0-or-later · 0.1 SBU · 556.4 KiB, 41 files · 41_system, 924 of 1047 · ports/core/sdr/dsdcc

Homepage: https://github.com/f4exb/dsdcc

DSDcc is a C++ library and command-line decoder, dsdccx, for the digital voice modes D-STAR, DMR, dPMR, NXDN and YSF. It is built with mbelib for the AMBE and IMBE voice codecs and links serialdv to drive an AMBE hardware dongle.

Depends on: cmake, ninja, pkgconf, mbelib, serialdv.

Required by (1): sdrangel.

Sources: dsdcc-1.9.6.tar.gz (12.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 dsdcc'

build.sh:

cmake -B build -G Ninja \
	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_INSTALL_LIBDIR=lib \
	-DUSE_MBELIB=ON \
	-DLIBSERIALDV_INCLUDE_DIR=/usr/include/serialdv \
	-DLIBSERIALDV_LIBRARY=/usr/lib/libserialdv.so \
	-DBUILD_TOOL=ON \
	-DCMAKE_SKIP_INSTALL_RPATH=ON \
	-Wno-dev
ninja -C build
DESTDIR=$PKG ninja -C build install
install -Dm644 debian/copyright "$PKG/usr/share/licenses/$name/copyright"
install -Dm644 /usr/share/licenses/serialdv/LICENSE "$PKG/usr/share/licenses/$name/GPL-3.0"

test -x "$PKG/usr/bin/dsdccx"
test -f "$PKG/usr/lib/pkgconfig/libdsdcc.pc"
readelf -d "$PKG/usr/bin/dsdccx" | grep -q libserialdv

Programs: dsdccx.

Libraries: libdsdcc.so.

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

The source’s only licence file is debian/copyright, which states the GPL-3.0-or-later terms and points at a Debian path for the full text. build.sh installs it as copyright and, as GPL-3.0, the full GPL version 3 that serialdv, a dependency under the same licence, installs in /usr/share/licenses/serialdv/LICENSE, so the package carries a complete text.

build.sh ends by checking that /usr/bin/dsdccx is executable, that libdsdcc.pc is in the package and that dsdccx links libserialdv.