mirror of
https://github.com/smittix/intercept.git
synced 2026-07-29 11:08:10 -07:00
fix: Use Makefile instead of CMake for slowrx build
slowrx uses a simple Makefile, not CMake. Remove unnecessary cmake dependency and fix the build process. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -686,7 +686,8 @@ install_aiscatcher_from_source_debian() {
|
|||||||
install_slowrx_from_source_debian() {
|
install_slowrx_from_source_debian() {
|
||||||
info "slowrx not available via APT. Building from source..."
|
info "slowrx not available via APT. Building from source..."
|
||||||
|
|
||||||
apt_install build-essential git cmake pkg-config \
|
# slowrx uses a simple Makefile, not CMake
|
||||||
|
apt_install build-essential git pkg-config \
|
||||||
libfftw3-dev libsndfile1-dev libgtk-3-dev libasound2-dev libpulse-dev
|
libfftw3-dev libsndfile1-dev libgtk-3-dev libasound2-dev libpulse-dev
|
||||||
|
|
||||||
# Run in subshell to isolate EXIT trap
|
# Run in subshell to isolate EXIT trap
|
||||||
@@ -699,16 +700,9 @@ install_slowrx_from_source_debian() {
|
|||||||
|| { warn "Failed to clone slowrx"; exit 1; }
|
|| { warn "Failed to clone slowrx"; exit 1; }
|
||||||
|
|
||||||
cd "$tmp_dir/slowrx"
|
cd "$tmp_dir/slowrx"
|
||||||
mkdir -p build && cd build
|
|
||||||
|
|
||||||
info "Compiling slowrx..."
|
info "Compiling slowrx..."
|
||||||
local cmake_log make_log
|
local make_log
|
||||||
cmake_log=$(cmake .. 2>&1) || {
|
|
||||||
warn "cmake failed for slowrx:"
|
|
||||||
echo "$cmake_log" | tail -20
|
|
||||||
warn "ISS SSTV decoding will not be available."
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
make_log=$(make 2>&1) || {
|
make_log=$(make 2>&1) || {
|
||||||
warn "make failed for slowrx:"
|
warn "make failed for slowrx:"
|
||||||
echo "$make_log" | tail -20
|
echo "$make_log" | tail -20
|
||||||
|
|||||||
Reference in New Issue
Block a user