0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/ci/build-openbsd.sh
Kacper Michajłow b64521ae10 ci/openbsd: bump to 7.5 and remove libplacebo subproject
The available version is enough now.
2024-06-22 16:12:14 +02:00

35 lines
751 B
Bash
Executable File

#!/bin/sh
set -e
# FFmpeg on openBSD (4.4.4) is too old; use a subproject
rm -rf subprojects
mkdir -p subprojects
cat <<EOF > subprojects/ffmpeg.wrap
[wrap-git]
url = https://gitlab.freedesktop.org/gstreamer/meson-ports/ffmpeg.git
revision = meson-6.1
depth = 1
[provide]
libavcodec = libavcodec_dep
libavdevice = libavdevice_dep
libavfilter = libavfilter_dep
libavformat = libavformat_dep
libavutil = libavutil_dep
libswresample = libswresample_dep
libswscale = libswscale_dep
EOF
meson setup build \
-Dffmpeg:vulkan=auto \
-Dlibmpv=true \
-Dlua=enabled \
-Dopenal=enabled \
-Dpulse=enabled \
-Dtests=true \
-Dvulkan=enabled \
-Ddvdnav=enabled \
-Dcdda=enabled
meson compile -C build
./build/mpv -v --no-config