install: установка зависимостей ffmpeg из vendor/debs
This commit is contained in:
parent
8868711783
commit
01febdb27f
13
install
13
install
|
|
@ -72,6 +72,19 @@ if [ "$NEED_XVFB" -eq 1 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$NEED_FFMPEG" -eq 1 ]; then
|
if [ "$NEED_FFMPEG" -eq 1 ]; then
|
||||||
|
# Сначала ставим зависимости ffmpeg из vendor/debs, если они есть
|
||||||
|
for dep in libavcodec60 libavdevice60 libavfilter9 libavformat60 libavutil58 libpostproc57 libsdl2-2.0-0 libswresample4 libswscale7; do
|
||||||
|
DEB_PATH="$(ls "$REPO_ROOT"/vendor/debs/${dep}_*.deb 2>/dev/null | head -n1 || true)"
|
||||||
|
if [ -n "$DEB_PATH" ]; then
|
||||||
|
echo "Устанавливаю зависимость ffmpeg: $DEB_PATH ..."
|
||||||
|
if dpkg -i "$DEB_PATH"; then
|
||||||
|
echo "Пакет зависимости $dep установлен."
|
||||||
|
else
|
||||||
|
echo "Не удалось установить пакет зависимости $dep из $DEB_PATH. Проверьте зависимости пакета." >&2
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
FFMPEG_DEB="$(ls "$REPO_ROOT"/vendor/debs/ffmpeg_*.deb 2>/dev/null | head -n1 || true)"
|
FFMPEG_DEB="$(ls "$REPO_ROOT"/vendor/debs/ffmpeg_*.deb 2>/dev/null | head -n1 || true)"
|
||||||
if [ -n "$FFMPEG_DEB" ]; then
|
if [ -n "$FFMPEG_DEB" ]; then
|
||||||
echo "ffmpeg не найден в системе. Устанавливаю из $FFMPEG_DEB ..."
|
echo "ffmpeg не найден в системе. Устанавливаю из $FFMPEG_DEB ..."
|
||||||
|
|
|
||||||
BIN
vendor/debs/libavcodec60_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
BIN
vendor/debs/libavcodec60_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
Binary file not shown.
BIN
vendor/debs/libavdevice60_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
BIN
vendor/debs/libavdevice60_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
Binary file not shown.
BIN
vendor/debs/libavfilter9_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
BIN
vendor/debs/libavfilter9_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
Binary file not shown.
BIN
vendor/debs/libavformat60_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
BIN
vendor/debs/libavformat60_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
Binary file not shown.
BIN
vendor/debs/libavutil58_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
BIN
vendor/debs/libavutil58_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
Binary file not shown.
BIN
vendor/debs/libpostproc57_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
BIN
vendor/debs/libpostproc57_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
Binary file not shown.
BIN
vendor/debs/libsdl2-2.0-0_2.30.0+dfsg-1ubuntu3.1_amd64.deb
vendored
Normal file
BIN
vendor/debs/libsdl2-2.0-0_2.30.0+dfsg-1ubuntu3.1_amd64.deb
vendored
Normal file
Binary file not shown.
BIN
vendor/debs/libswresample4_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
BIN
vendor/debs/libswresample4_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
Binary file not shown.
BIN
vendor/debs/libswscale7_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
BIN
vendor/debs/libswscale7_7%3a6.1.1-3ubuntu5_amd64.deb
vendored
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user