From 7d6822ecbdcdbb04de98dab4be0d969a55d5520a Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 29 Sep 2025 11:35:47 +0200 Subject: [PATCH] Update dependencies and add Viseron release fetch Added gcc, musl-dev, and libpq-dev to the list of installed dependencies. Included a step to fetch and deploy the latest Viseron GitHub release to /opt/viseron before setting up the Python environment. --- install/viseron-install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install/viseron-install.sh b/install/viseron-install.sh index d95d626b..dc4c78ec 100644 --- a/install/viseron-install.sh +++ b/install/viseron-install.sh @@ -16,11 +16,11 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ python3-opencv jq \ - libgl1-mesa-glx libglib2.0-0 pciutils \ + libgl1-mesa-glx libglib2.0-0 pciutils gcc musl-dev \ libgstreamer1.0-0 libgstreamer-plugins-base1.0-0 \ gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav \ build-essential python3-dev python3-gi pkg-config libcairo2-dev gir1.2-glib-2.0 \ - cmake gfortran libopenblas-dev liblapack-dev libgirepository1.0-dev git + cmake gfortran libopenblas-dev liblapack-dev libgirepository1.0-dev git libpq-dev msg_ok "Installed Dependencies" PG_VERSION="16" setup_postgresql @@ -51,6 +51,8 @@ if [[ "$CTTYPE" == "0" ]]; then fi msg_ok "Hardware Acceleration Configured" +fetch_and_deploy_gh_release "viseron" "roflcoopter/viseron" "/opt/viseron" + msg_info "Setting up Python Environment" uv venv --python "python3.13" /opt/viseron/.venv uv pip install --python /opt/viseron/.venv/bin/python --upgrade pip setuptools wheel