mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-16 14:30:33 -04:00
fix(dispatcharr): add comskip installation and build dependencies (#16224)
This commit is contained in:
@@ -106,7 +106,18 @@ EOF
|
|||||||
msg_ok "Migrated Nginx Configuration"
|
msg_ok "Migrated Nginx Configuration"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ensure_dependencies vlc-bin vlc-plugin-base
|
ensure_dependencies vlc-bin vlc-plugin-base build-essential autoconf libtool libargtable2-dev libavformat-dev libsdl2-dev libswscale-dev
|
||||||
|
|
||||||
|
if ! command -v comskip &> /dev/null; then
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "Comskip" "erikkaashoek/Comskip" "tarball"
|
||||||
|
msg_info "Compiling Comskip"
|
||||||
|
cd /opt/Comskip
|
||||||
|
$STD ./autogen.sh
|
||||||
|
$STD ./configure
|
||||||
|
$STD make
|
||||||
|
$STD make install
|
||||||
|
msg_ok "Compiled and Installed Comskip"
|
||||||
|
fi
|
||||||
|
|
||||||
if check_for_gh_release "Dispatcharr" "Dispatcharr/Dispatcharr"; then
|
if check_for_gh_release "Dispatcharr" "Dispatcharr/Dispatcharr"; then
|
||||||
msg_info "Stopping Services"
|
msg_info "Stopping Services"
|
||||||
|
|||||||
@@ -25,7 +25,13 @@ $STD apt install -y \
|
|||||||
procps \
|
procps \
|
||||||
vlc-bin \
|
vlc-bin \
|
||||||
vlc-plugin-base \
|
vlc-plugin-base \
|
||||||
streamlink
|
streamlink \
|
||||||
|
autoconf \
|
||||||
|
libtool \
|
||||||
|
libargtable2-dev \
|
||||||
|
libavformat-dev \
|
||||||
|
libsdl2-dev \
|
||||||
|
libswscale-dev
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
setup_uv
|
setup_uv
|
||||||
@@ -33,6 +39,15 @@ NODE_VERSION="24" setup_nodejs
|
|||||||
PG_VERSION="16" setup_postgresql
|
PG_VERSION="16" setup_postgresql
|
||||||
PG_DB_NAME="dispatcharr_db" PG_DB_USER="dispatcharr_usr" setup_postgresql_db
|
PG_DB_NAME="dispatcharr_db" PG_DB_USER="dispatcharr_usr" setup_postgresql_db
|
||||||
fetch_and_deploy_gh_release "dispatcharr" "Dispatcharr/Dispatcharr" "tarball"
|
fetch_and_deploy_gh_release "dispatcharr" "Dispatcharr/Dispatcharr" "tarball"
|
||||||
|
fetch_and_deploy_gh_release "Comskip" "erikkaashoek/Comskip" "tarball"
|
||||||
|
|
||||||
|
msg_info "Compiling Comskip"
|
||||||
|
cd /opt/Comskip
|
||||||
|
$STD ./autogen.sh
|
||||||
|
$STD ./configure
|
||||||
|
$STD make
|
||||||
|
$STD make install
|
||||||
|
msg_ok "Compiled and Installed Comskip"
|
||||||
|
|
||||||
msg_info "Installing Python Dependencies with uv"
|
msg_info "Installing Python Dependencies with uv"
|
||||||
cd /opt/dispatcharr
|
cd /opt/dispatcharr
|
||||||
|
|||||||
Reference in New Issue
Block a user