2020-05-23 15:29:28 +00:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
2024-10-16 22:27:13 +00:00
|
|
|
. ./ci/build-common.sh
|
|
|
|
|
|
|
|
export CFLAGS="$CFLAGS -isystem/usr/local/include -march=native"
|
2020-05-23 15:29:28 +00:00
|
|
|
export CXXFLAGS="$CXXFLAGS -isystem/usr/local/include"
|
|
|
|
export LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
|
|
|
|
2023-11-28 21:25:57 +00:00
|
|
|
# TODO: readd -Ddvbin=enabled
|
|
|
|
|
2024-10-16 22:27:13 +00:00
|
|
|
meson setup build $common_args \
|
|
|
|
-Db_sanitize=address,undefined \
|
|
|
|
-Diconv=disabled \
|
|
|
|
-Dlua=enabled \
|
|
|
|
-Degl-drm=enabled \
|
|
|
|
-Dopenal=enabled \
|
|
|
|
-Dsndio=enabled \
|
|
|
|
-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)
|
2021-11-07 19:29:11 +00:00
|
|
|
|
|
|
|
meson compile -C build
|
2023-02-26 17:22:27 +00:00
|
|
|
./build/mpv -v --no-config
|