| Name |
libcodec2-1.2 |
| Description |
Codec2 runtime library |
| Version |
1.2.0-3 |
| Package Base |
codec2 |
| Homepage |
http://rowetel.com/codec2.html |
| Maintainers |
['A. Maitland Bottoms <bottoms@debian.org>'] |
| Contributors |
[] |
| Distro-repo |
https://salsa.debian.org/bottoms/pkg-codec2 |
| Sources |
['https://sources.debian.org/data/main/c/codec2/1.2.0-3/debian/watch', 'https://sources.debian.org/src/codec2/1.2.0-3/debian/patches/cmake-shared-and-static-targets', 'https://sources.debian.org/src/codec2/1.2.0-3/debian/patches/debian-source-cml', 'https://sources.debian.org/src/codec2/1.2.0-3/debian/patches/debian-source-package', 'https://sources.debian.org/src/codec2/1.2.0-3/debian/patches/fsk-fft-api', 'https://sources.debian.org/src/codec2/1.2.0-3/debian/patches/install-executables', 'https://sources.debian.org/src/codec2/1.2.0-3/debian/patches/lpcnet-check-c-compiler-flag', 'https://sources.debian.org/src/codec2/1.2.0-3/debian/patches/optional-octave-tests', 'https://sources.debian.org/src/codec2/1.2.0-3/debian/patches/series'] |
| Dependencies |
['libc6'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['clang-format [amd64]', 'cmake', 'debhelper-compat', 'libsamplerate0-dev', 'libspeexdsp-dev', 'octave-dev [amd64] <!nocheck>', 'octave-signal [amd64] <!nocheck>', 'sox [amd64] <!nocheck>'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
trixie |
| Licenses |
[] |
| Hash |
d68a3b754be7aa2d724d01d2079c542fc7cfa53eaa4ac89fbc6e63d950c02bd6 |
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
RUN_UNITTEST := TRUE
else
RUN_UNITTEST := FALSE
endif
%:
dh $@ --builddirectory=Build --buildsystem=cmake
override_dh_auto_configure:
dh_auto_configure --builddirectory=Build/lpcnet-build --sourcedirectory=LPCNet -- \
-DCMAKE_VERBOSE_MAKEFILE=ON -DDISABLE_CPU_OPTIMIZATION=ON \
-DLPCNET_191005_DIR=$(CURDIR)/lpcnet191005
cmake --build Build/lpcnet-build
dh_auto_configure --builddirectory=Build -- \
-DLPCNET_BUILD_DIR=$(CURDIR)/Build/lpcnet-build \
-DBUILD_STATIC_LIBS=ON \
-DINSTALL_EXAMPLES=TRUE \
-DUNITTEST=$(RUN_UNITTEST) \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
override_dh_auto_build:
echo "lpcnet-build"
cmake --build Build/lpcnet-build
echo "codec2 build to use lpcnet"
cmake --build Build
# Some tests are known to fail while building packages:
# - not using resource-intensive valgrind for leakage tests
# - some octave based tests fail without a full graphical environment
# - HF fading files require the octave-signal package
# - some tests use sox
override_dh_auto_test:
- dh_auto_test