2020-05-23 15:29:28 +00:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
|
|
|
export CFLAGS="$CFLAGS -isystem/usr/local/include"
|
|
|
|
export CXXFLAGS="$CXXFLAGS -isystem/usr/local/include"
|
|
|
|
export LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
|
|
|
|
2022-10-29 02:40:53 +00:00
|
|
|
meson setup build \
|
2023-09-18 13:42:01 +00:00
|
|
|
--werror \
|
2023-10-23 16:44:27 +00:00
|
|
|
-Dlibplacebo:werror=false \
|
2023-09-18 13:42:01 +00:00
|
|
|
-Dc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations" \
|
2023-10-23 18:51:14 +00:00
|
|
|
-Diconv=disabled \
|
2021-11-07 19:29:11 +00:00
|
|
|
-Dlibmpv=true \
|
|
|
|
-Dlua=enabled \
|
|
|
|
-Degl-drm=enabled \
|
|
|
|
-Dopenal=enabled \
|
2022-01-22 18:48:48 +00:00
|
|
|
-Dsndio=enabled \
|
2023-02-26 19:05:49 +00:00
|
|
|
-Dtests=true \
|
2021-11-07 19:29:11 +00:00
|
|
|
-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) \
|
2022-08-18 10:14:46 +00:00
|
|
|
$(pkg info -q pipewire && echo -Dpipewire=enabled) \
|
2021-11-07 19:29:11 +00:00
|
|
|
$NULL
|
|
|
|
|
|
|
|
meson compile -C build
|
2023-02-26 17:22:27 +00:00
|
|
|
./build/mpv -v --no-config
|