mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-12 15:46:10 +02:00
ConvertX: add some new dependencies (#16437)
* convertx: install missing converter dependencies * convertx: use uv tool install instead of pipx for markitdown
This commit is contained in:
committed by
GitHub
parent
d04f0fbede
commit
3ef0735136
+13
-1
@@ -34,7 +34,19 @@ function update_script() {
|
||||
systemctl stop convertx
|
||||
msg_info "Stopped Service"
|
||||
|
||||
ensure_dependencies libreoffice-writer
|
||||
ensure_dependencies libreoffice-writer dasel graphicsmagick libemail-outlook-message-perl libheif-examples libjxl-tools resvg
|
||||
|
||||
if ! command -v markitdown &>/dev/null; then
|
||||
setup_uv
|
||||
msg_info "Installing markitdown"
|
||||
export UV_TOOL_BIN_DIR=/usr/local/bin
|
||||
$STD uv tool install "markitdown[all]"
|
||||
msg_ok "Installed markitdown"
|
||||
fi
|
||||
|
||||
if ! command -v vtracer &>/dev/null; then
|
||||
fetch_and_deploy_gh_release "vtracer" "visioncortex/vtracer" "prebuild" "0.6.4" "/usr/local/bin" "vtracer-$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl.tar.gz"
|
||||
fi
|
||||
|
||||
create_backup /opt/convertx/data
|
||||
|
||||
|
||||
@@ -20,10 +20,15 @@ msg_info "Installing Dependencies"
|
||||
$STD apt install -y \
|
||||
assimp-utils \
|
||||
calibre \
|
||||
dasel \
|
||||
dcraw \
|
||||
dvisvgm \
|
||||
ffmpeg \
|
||||
graphicsmagick \
|
||||
inkscape \
|
||||
libemail-outlook-message-perl \
|
||||
libheif-examples \
|
||||
libjxl-tools \
|
||||
libreoffice-writer \
|
||||
libva2 \
|
||||
libvips-tools \
|
||||
@@ -33,6 +38,7 @@ $STD apt install -y \
|
||||
poppler-utils \
|
||||
potrace \
|
||||
python3-numpy \
|
||||
resvg \
|
||||
texlive \
|
||||
texlive-fonts-recommended \
|
||||
texlive-latex-extra \
|
||||
@@ -40,6 +46,15 @@ $STD apt install -y \
|
||||
texlive-xetex
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
setup_uv
|
||||
|
||||
msg_info "Installing markitdown"
|
||||
export UV_TOOL_BIN_DIR=/usr/local/bin
|
||||
$STD uv tool install "markitdown[all]"
|
||||
msg_ok "Installed markitdown"
|
||||
|
||||
fetch_and_deploy_gh_release "vtracer" "visioncortex/vtracer" "prebuild" "0.6.4" "/usr/local/bin" "vtracer-$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl.tar.gz"
|
||||
|
||||
NODE_VERSION="22" NODE_MODULE="bun" setup_nodejs
|
||||
fetch_and_deploy_gh_release "ConvertX" "C4illin/ConvertX" "tarball" "latest" "/opt/convertx"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user