diff --git a/install b/install index 0e6de10..86162d2 100755 --- a/install +++ b/install @@ -72,6 +72,19 @@ if [ "$NEED_XVFB" -eq 1 ]; then fi 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)" if [ -n "$FFMPEG_DEB" ]; then echo "ffmpeg не найден в системе. Устанавливаю из $FFMPEG_DEB ..." diff --git a/vendor/debs/libavcodec60_7%3a6.1.1-3ubuntu5_amd64.deb b/vendor/debs/libavcodec60_7%3a6.1.1-3ubuntu5_amd64.deb new file mode 100644 index 0000000..328c927 Binary files /dev/null and b/vendor/debs/libavcodec60_7%3a6.1.1-3ubuntu5_amd64.deb differ diff --git a/vendor/debs/libavdevice60_7%3a6.1.1-3ubuntu5_amd64.deb b/vendor/debs/libavdevice60_7%3a6.1.1-3ubuntu5_amd64.deb new file mode 100644 index 0000000..e7b45b0 Binary files /dev/null and b/vendor/debs/libavdevice60_7%3a6.1.1-3ubuntu5_amd64.deb differ diff --git a/vendor/debs/libavfilter9_7%3a6.1.1-3ubuntu5_amd64.deb b/vendor/debs/libavfilter9_7%3a6.1.1-3ubuntu5_amd64.deb new file mode 100644 index 0000000..acfe032 Binary files /dev/null and b/vendor/debs/libavfilter9_7%3a6.1.1-3ubuntu5_amd64.deb differ diff --git a/vendor/debs/libavformat60_7%3a6.1.1-3ubuntu5_amd64.deb b/vendor/debs/libavformat60_7%3a6.1.1-3ubuntu5_amd64.deb new file mode 100644 index 0000000..c287222 Binary files /dev/null and b/vendor/debs/libavformat60_7%3a6.1.1-3ubuntu5_amd64.deb differ diff --git a/vendor/debs/libavutil58_7%3a6.1.1-3ubuntu5_amd64.deb b/vendor/debs/libavutil58_7%3a6.1.1-3ubuntu5_amd64.deb new file mode 100644 index 0000000..31d4ae6 Binary files /dev/null and b/vendor/debs/libavutil58_7%3a6.1.1-3ubuntu5_amd64.deb differ diff --git a/vendor/debs/libpostproc57_7%3a6.1.1-3ubuntu5_amd64.deb b/vendor/debs/libpostproc57_7%3a6.1.1-3ubuntu5_amd64.deb new file mode 100644 index 0000000..d417a8d Binary files /dev/null and b/vendor/debs/libpostproc57_7%3a6.1.1-3ubuntu5_amd64.deb differ diff --git a/vendor/debs/libsdl2-2.0-0_2.30.0+dfsg-1ubuntu3.1_amd64.deb b/vendor/debs/libsdl2-2.0-0_2.30.0+dfsg-1ubuntu3.1_amd64.deb new file mode 100644 index 0000000..79692d6 Binary files /dev/null and b/vendor/debs/libsdl2-2.0-0_2.30.0+dfsg-1ubuntu3.1_amd64.deb differ diff --git a/vendor/debs/libswresample4_7%3a6.1.1-3ubuntu5_amd64.deb b/vendor/debs/libswresample4_7%3a6.1.1-3ubuntu5_amd64.deb new file mode 100644 index 0000000..15960a4 Binary files /dev/null and b/vendor/debs/libswresample4_7%3a6.1.1-3ubuntu5_amd64.deb differ diff --git a/vendor/debs/libswscale7_7%3a6.1.1-3ubuntu5_amd64.deb b/vendor/debs/libswscale7_7%3a6.1.1-3ubuntu5_amd64.deb new file mode 100644 index 0000000..712ed77 Binary files /dev/null and b/vendor/debs/libswscale7_7%3a6.1.1-3ubuntu5_amd64.deb differ