deps and envs

This commit is contained in:
2025-09-25 14:58:56 +02:00
parent aee8ec5cb0
commit 97547f4f80
5 changed files with 28 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ INSTALL_DIR="/opt/video_player"
CONFIG_DIR="/etc/video_player"
SERVICE_NAME="video-player"
USER="pi"
VIDEO_FOLDER="/home/pi/Videos"
VIDEO_FOLDER="${VIDEO_FOLDER:-/home/pi/Videos}"
# Function to print colored output
print_status() {
@@ -76,6 +76,7 @@ install_packages() {
vlc \
vlc-plugin-base \
vlc-plugin-video-output \
ffmpeg \
git \
curl \
wget \
@@ -97,12 +98,11 @@ install_packages() {
libatlas-base-dev \
gfortran \
libhdf5-dev \
libhdf5-serial-dev \
libhdf5-103 \
libqtgui4 \
libqtwebkit4 \
libqt4-test \
python3-pyqt5 \
python3-pyqt5.qtwidgets \
python3-pyqt5.qtgui \
python3-pyqt5.qtcore \
libgtk-3-dev \
libcanberra-gtk3-module \
libcanberra-gtk3-dev \