hopefully final initial commit

This commit is contained in:
Chris Frankland-Wright 2025-06-23 15:31:01 +01:00
parent b3513cc58c
commit 83e6581104

View file

@ -43,24 +43,24 @@ echo "Step 4: Installing Python packages..."
pip3 install numpy --break-system-packages pip3 install numpy --break-system-packages
# --------------------------------------------------------- # ---------------------------------------------------------
# Step 5: Check for or install ltc-tools # Step 5: Check for or install ltc-tools from source
# --------------------------------------------------------- # ---------------------------------------------------------
echo "" echo ""
echo "Step 5: Verifying LTC tools..." echo "Step 5: Verifying LTC tools..."
if ! command -v ltcdump >/dev/null 2>&1; then if ! command -v ltcdump >/dev/null 2>&1; then
echo "ltc-tools not found, building from source..." echo "ltc-tools not found, building from source..."
cd ~ cd ~
if [ ! -d "libltc" ]; then if [ ! -d "ltc-tools" ]; then
echo "Cloning libltc from GitHub..." echo "Cloning ltc-tools from GitHub..."
git clone https://github.com/x42/libltc.git git clone https://github.com/x42/ltc-tools.git
fi fi
cd libltc cd ltc-tools
mkdir -p build && cd build mkdir -p build && cd build
echo "Running CMake configuration..." echo "Running CMake configuration..."
cmake .. cmake ..
echo "Compiling libltc..." echo "Compiling ltc-tools..."
make make
echo "Installing libltc binaries..." echo "Installing ltc-tools binaries..."
sudo make install sudo make install
sudo ldconfig sudo ldconfig
else else