mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 15:22:09 +00:00
23 lines
520 B
Bash
Executable File
23 lines
520 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
# libplacebo on openBSD is too old; use a subproject
|
|
rm -rf subprojects
|
|
mkdir -p subprojects
|
|
git clone https://code.videolan.org/videolan/libplacebo.git \
|
|
--recurse-submodules --shallow-submodules \
|
|
--depth=1 --recurse-submodules subprojects/libplacebo
|
|
|
|
meson setup build \
|
|
-Dlibmpv=true \
|
|
-Dlua=enabled \
|
|
-Dopenal=enabled \
|
|
-Dpulse=enabled \
|
|
-Dtests=true \
|
|
-Dvulkan=enabled \
|
|
-Ddvdnav=enabled \
|
|
-Dcdda=enabled
|
|
|
|
meson compile -C build
|
|
./build/mpv -v --no-config
|