1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-08 08:00:17 +00:00
mpv/ci/build-openbsd.sh
Dudemanguy 04a2450aab ci/build-openbsd: don't enable cdda
We hit a -Wstrict-prototypes error which was fixed in the latest release
of libcdio-paranoia but openbsd is too old. We already have coverage of
this in other CIs so remove it.
2024-10-18 14:02:51 +00:00

34 lines
741 B
Bash
Executable File

#!/bin/sh
set -e
. ./ci/build-common.sh
# 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-7.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 $common_args \
-Dffmpeg:vulkan=auto \
-Dffmpeg:werror=false \
-Dlua=enabled \
-Dopenal=enabled \
-Dpulse=enabled \
-Dvulkan=enabled \
-Ddvdnav=enabled
meson compile -C build
./build/mpv -v --no-config