135.8. liblc3-1.1.3
Low Complexity Communication Codec, the mandatory codec of Bluetooth LE Audio
1.1.3-1 · Apache-2.0 · 0.3 SBU · 278.5 KiB, 7 files · 41_system, 108 of 1047 · ports/core/audio-codecs/liblc3
Homepage: https://github.com/google/liblc3
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/audio-codecs.txt:
The mandatory codec of Bluetooth LE Audio. A codec left on meson's
autoproduces a pipewire that negotiates SBC and says nothing, so pipewire names this one explicitly.
Required by (2): ffmpeg, pipewire.
Sources: liblc3-1.1.3.tar.gz (1.6 MiB). 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.
-Dpython=false, line 18: python3
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install liblc3'
build.sh:
export CFLAGS="${CFLAGS/-O2/-O3}"
meson setup build \
--prefix=/usr --libdir=lib \
--buildtype=release \
--default-library=shared \
-Dtools=false \
-Dpython=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build
Libraries: liblc3.so.
Directories: /usr/share/licenses/liblc3.