summaryrefslogtreecommitdiffstats
path: root/ci/build-freebsd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/build-freebsd.sh')
-rwxr-xr-xci/build-freebsd.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/ci/build-freebsd.sh b/ci/build-freebsd.sh
index 32ba0df010..2524104e11 100755
--- a/ci/build-freebsd.sh
+++ b/ci/build-freebsd.sh
@@ -5,6 +5,25 @@ export CFLAGS="$CFLAGS -isystem/usr/local/include"
export CXXFLAGS="$CXXFLAGS -isystem/usr/local/include"
export LDFLAGS="$LDFLAGS -L/usr/local/lib"
+meson build \
+ -Dlibmpv=true \
+ -Dlua=enabled \
+ -Degl-drm=enabled \
+ -Dopenal=enabled \
+ -Dsdl2=enabled \
+ -Dsndio=enabled \
+ -Dvaapi-wayland=enabled \
+ -Dvdpau=enabled \
+ -Dvulkan=enabled \
+ -Doss-audio=enabled \
+ $(pkg info -q v4l_compat && echo -Ddvbin=enabled) \
+ $(pkg info -q libdvdnav && echo -Ddvdnav=enabled) \
+ $(pkg info -q libcdio-paranoia && echo -Dcdda=enabled) \
+ $NULL
+
+meson compile -C build
+./build/mpv
+
if [ ! -e "./waf" ] ; then
python3 ./bootstrap.py
fi
@@ -15,9 +34,11 @@ python3 ./waf configure \
--enable-egl-drm \
--enable-openal \
--enable-sdl2 \
+ --enable-sndio \
--enable-vaapi-wayland \
--enable-vdpau \
--enable-vulkan \
+ --enable-oss-audio \
$(pkg info -q v4l_compat && echo --enable-dvbin) \
$(pkg info -q libdvdnav && echo --enable-dvdnav) \
$(pkg info -q libcdio-paranoia && echo --enable-cdda) \