mirror of
https://github.com/smittix/intercept.git
synced 2026-07-08 01:28:13 -07:00
Add gpsd installation to setup-dev.sh
Include gpsd daemon in the setup script for both macOS (via Homebrew) and Debian/Ubuntu (via apt with gpsd-clients). Also add gpsd to the required tools check. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -123,6 +123,10 @@ check_tools() {
|
|||||||
check_required "rtl_433" "433MHz sensor decoder" rtl_433 rtl433
|
check_required "rtl_433" "433MHz sensor decoder" rtl_433 rtl433
|
||||||
check_required "dump1090" "ADS-B decoder" dump1090
|
check_required "dump1090" "ADS-B decoder" dump1090
|
||||||
|
|
||||||
|
echo
|
||||||
|
info "GPS:"
|
||||||
|
check_required "gpsd" "GPS daemon" gpsd
|
||||||
|
|
||||||
echo
|
echo
|
||||||
info "Audio:"
|
info "Audio:"
|
||||||
check_required "ffmpeg" "Audio encoder/decoder" ffmpeg
|
check_required "ffmpeg" "Audio encoder/decoder" ffmpeg
|
||||||
@@ -241,6 +245,7 @@ install_macos_packages() {
|
|||||||
brew_install aircrack-ng
|
brew_install aircrack-ng
|
||||||
brew_install hcxtools
|
brew_install hcxtools
|
||||||
brew_install soapysdr
|
brew_install soapysdr
|
||||||
|
brew_install gpsd
|
||||||
|
|
||||||
warn "macOS note: hcitool/hciconfig are Linux (BlueZ) utilities and often unavailable on macOS."
|
warn "macOS note: hcitool/hciconfig are Linux (BlueZ) utilities and often unavailable on macOS."
|
||||||
echo
|
echo
|
||||||
@@ -335,6 +340,7 @@ install_debian_packages() {
|
|||||||
apt_install hcxtools || true
|
apt_install hcxtools || true
|
||||||
apt_install bluez bluetooth || true
|
apt_install bluez bluetooth || true
|
||||||
apt_install soapysdr-tools || true
|
apt_install soapysdr-tools || true
|
||||||
|
apt_install gpsd gpsd-clients || true
|
||||||
|
|
||||||
# dump1090: apt first; source fallback; hard fail inside if it can't build
|
# dump1090: apt first; source fallback; hard fail inside if it can't build
|
||||||
if ! cmd_exists dump1090; then
|
if ! cmd_exists dump1090; then
|
||||||
|
|||||||
Reference in New Issue
Block a user