Skip to content

Commit 9768e7a

Browse files
committed
fix(dispatcharr): add comskip installation and build dependencies using release tarball
1 parent bc944d9 commit 9768e7a

2 files changed

Lines changed: 32 additions & 2 deletions

File tree

ct/dispatcharr.sh

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,21 @@ EOF
104104
msg_ok "Migrated Nginx Configuration"
105105
fi
106106

107-
ensure_dependencies vlc-bin vlc-plugin-base
107+
ensure_dependencies vlc-bin vlc-plugin-base build-essential autoconf libtool libargtable2-dev libavformat-dev libsdl2-dev libswscale-dev
108+
109+
if ! command -v comskip &> /dev/null; then
110+
msg_info "Compiling Comskip"
111+
if [[ ! -d "/opt/Comskip" ]]; then
112+
mkdir -p /opt/Comskip
113+
wget -qO- https://github.com/erikkaashoek/Comskip/archive/refs/heads/master.tar.gz | tar -xz -C /opt/Comskip --strip-components=1
114+
fi
115+
cd /opt/Comskip
116+
$STD ./autogen.sh
117+
$STD ./configure
118+
$STD make
119+
$STD make install
120+
msg_ok "Compiled and Installed Comskip"
121+
fi
108122

109123
if check_for_gh_release "Dispatcharr" "Dispatcharr/Dispatcharr"; then
110124
msg_info "Stopping Services"

install/dispatcharr-install.sh

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,25 @@ $STD apt install -y \
2525
procps \
2626
vlc-bin \
2727
vlc-plugin-base \
28-
streamlink
28+
streamlink \
29+
autoconf \
30+
libtool \
31+
libargtable2-dev \
32+
libavformat-dev \
33+
libsdl2-dev \
34+
libswscale-dev
2935
msg_ok "Installed Dependencies"
3036

37+
msg_info "Compiling Comskip"
38+
mkdir -p /opt/Comskip
39+
wget -qO- https://github.com/erikkaashoek/Comskip/archive/refs/heads/master.tar.gz | tar -xz -C /opt/Comskip --strip-components=1
40+
cd /opt/Comskip
41+
$STD ./autogen.sh
42+
$STD ./configure
43+
$STD make
44+
$STD make install
45+
msg_ok "Compiled and Installed Comskip"
46+
3147
setup_uv
3248
NODE_VERSION="24" setup_nodejs
3349
PG_VERSION="16" setup_postgresql

0 commit comments

Comments
 (0)