#!/usr/bin/env bash set -e echo "Installing build tools..." sudo apt install -y \ build-essential \ cmake \ ninja-build \ pkg-config \ git echo "Installing Qt6 dependencies..." sudo apt install -y \ qt6-base-dev \ qt6-base-dev-tools \ qt6-multimedia-dev \ qt6-tools-dev \ qt6-tools-dev-tools \ libqt6opengl6-dev \ libqt6openglwidgets6 echo "Installing FFmpeg development libraries..." sudo apt install -y \ libavformat-dev \ libavcodec-dev \ libavutil-dev \ libswresample-dev \ libswscale-dev \ ffmpeg echo "Installing FFTW3..." sudo apt install -y \ libfftw3-dev echo "Installing OpenGL dependencies..." sudo apt install -y \ libgl1-mesa-dev \ libglu1-mesa-dev echo "Verifying pkg-config modules..." pkg-config --modversion libavformat || echo "FFmpeg pkg-config missing" pkg-config --modversion fftw3 || echo "FFTW pkg-config missing"