diff options
Diffstat (limited to 'ci/build-freebsd.sh')
-rwxr-xr-x | ci/build-freebsd.sh | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/ci/build-freebsd.sh b/ci/build-freebsd.sh index 32ba0df010..e272ef6774 100755 --- a/ci/build-freebsd.sh +++ b/ci/build-freebsd.sh @@ -5,22 +5,25 @@ export CFLAGS="$CFLAGS -isystem/usr/local/include" export CXXFLAGS="$CXXFLAGS -isystem/usr/local/include" export LDFLAGS="$LDFLAGS -L/usr/local/lib" -if [ ! -e "./waf" ] ; then - python3 ./bootstrap.py -fi +# TODO: readd -Ddvbin=enabled -python3 ./waf configure \ - --enable-libmpv-shared \ - --enable-lua \ - --enable-egl-drm \ - --enable-openal \ - --enable-sdl2 \ - --enable-vaapi-wayland \ - --enable-vdpau \ - --enable-vulkan \ - $(pkg info -q v4l_compat && echo --enable-dvbin) \ - $(pkg info -q libdvdnav && echo --enable-dvdnav) \ - $(pkg info -q libcdio-paranoia && echo --enable-cdda) \ +meson setup build \ + --werror \ + -Dc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations -march=native" \ + -Diconv=disabled \ + -Dlibmpv=true \ + -Dlua=enabled \ + -Degl-drm=enabled \ + -Dopenal=enabled \ + -Dsndio=enabled \ + -Dtests=true \ + -Dvdpau=enabled \ + -Dvulkan=enabled \ + -Doss-audio=enabled \ + $(pkg info -q libdvdnav && echo -Ddvdnav=enabled) \ + $(pkg info -q libcdio-paranoia && echo -Dcdda=enabled) \ + $(pkg info -q pipewire && echo -Dpipewire=enabled) \ $NULL -python3 ./waf build +meson compile -C build +./build/mpv -v --no-config |