mirror of https://github.com/mpv-player/mpv
28 lines
689 B
Bash
Executable File
28 lines
689 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
. ./ci/build-common.sh
|
|
|
|
export CFLAGS="$CFLAGS -isystem/usr/local/include -march=native"
|
|
export CXXFLAGS="$CXXFLAGS -isystem/usr/local/include"
|
|
export LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
|
|
|
# TODO: readd -Ddvbin=enabled
|
|
|
|
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)
|
|
|
|
meson compile -C build
|
|
./build/mpv -v --no-config
|