Makefile: fold sox into apt-deps (now a required dep)

This commit is contained in:
timehexon 2026-06-05 12:33:10 -04:00
parent 5e41ab6779
commit 468cd1dfc0

View file

@ -3,7 +3,7 @@
CONTAINER_NAME ?= uncloseai-speech-server-1 CONTAINER_NAME ?= uncloseai-speech-server-1
.PHONY: help deploy restart logs test clean stop start voices voices-qwen voices-f5 voices-piper voices-xtts voices-kokoro test-kokoro voices-silero test-silero voices-chatterbox test-chatterbox push-all hydrate load-test test-qwen test-f5 venv venv-run local local-cpu whisper-refs apt-deps apt-deps-sox .PHONY: help deploy restart logs test clean stop start voices voices-qwen voices-f5 voices-piper voices-xtts voices-kokoro test-kokoro voices-silero test-silero voices-chatterbox test-chatterbox push-all hydrate load-test test-qwen test-f5 venv venv-run local local-cpu whisper-refs apt-deps
help: help:
@echo "Raccoon TTS Mission - Development Commands" @echo "Raccoon TTS Mission - Development Commands"
@ -18,8 +18,7 @@ help:
@echo " make logs - Tail container logs" @echo " make logs - Tail container logs"
@echo "" @echo ""
@echo "No Docker:" @echo "No Docker:"
@echo " make apt-deps - Install required system packages (ffmpeg, curl, git)" @echo " make apt-deps - Install required system packages (ffmpeg, sox, curl, git)"
@echo " make apt-deps-sox - Install optional sox (silences torchaudio warning)"
@echo " make venv - Create Python virtual environment" @echo " make venv - Create Python virtual environment"
@echo " make venv-run - Run server in virtual environment" @echo " make venv-run - Run server in virtual environment"
@echo "" @echo ""
@ -108,17 +107,11 @@ venv-run:
venv-clean: venv-clean:
rm -rf $(VENV_DIR) rm -rf $(VENV_DIR)
# Required system packages for the venv path (mirrors Dockerfile apt install). # Required system packages for the venv path (mirrors Dockerfile apt install + sox).
# Skip if you only ever use the Docker path — the image carries these itself. # Skip if you only ever use the Docker path — the image carries these itself.
apt-deps: apt-deps:
sudo apt-get update sudo apt-get update
sudo apt-get install -y --no-install-recommends curl ffmpeg git sudo apt-get install -y --no-install-recommends curl ffmpeg git sox libsox-fmt-all
# Optional. Silences torchaudio's "SoX could not be found" warning at startup.
# F5-TTS + Qwen3-TTS work without it; ffmpeg covers every audio op we use today.
# Install only if a future engine pulls in torchaudio.sox_effects.
apt-deps-sox:
sudo apt-get install -y --no-install-recommends sox libsox-fmt-all
# ============================================================================ # ============================================================================
# Testing # Testing