1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-21 10:51:51 +00:00
mpv/ci/build-linux-old.sh
LaserEyess d5dc1e8025 ci: add explicit build test for ffmpeg 4.4
This uses an alpine 3.15 container, which should be one of the oldest
distros that mpv master can compile on and that uses ffmpeg 4.4. Some
functionality is missing due to library versions being too old on
alpine, e.g. wayland, mujs, and pipewire.

The alpine build is also explicitly minimal, to test builds in
conditions where many common mpv features may not be available.
2024-02-26 15:37:37 +00:00

18 lines
415 B
Bash
Executable File

#!/bin/sh
set -e
# clone exactly the oldest libplacebo we want to support
rm -rf subprojects
mkdir -p subprojects
git clone https://code.videolan.org/videolan/libplacebo.git \
--depth 1 --branch v6.338 --recurse-submodules subprojects/libplacebo
meson setup build \
-Dlibplacebo:vulkan=disabled \
-Dlibmpv=true \
-Dlua=enabled \
-Dtests=true
meson compile -C build
./build/mpv -v --no-config