aboutsummaryrefslogtreecommitdiff
path: root/extra/mpv/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mpv/build')
-rwxr-xr-xextra/mpv/build18
1 files changed, 10 insertions, 8 deletions
diff --git a/extra/mpv/build b/extra/mpv/build
index d34cc813..84ccc384 100755
--- a/extra/mpv/build
+++ b/extra/mpv/build
@@ -1,11 +1,13 @@
#!/bin/sh -e
-python waf/waf-light configure \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --confdir=/etc/mpv \
- --enable-alsa \
- --disable-libarchive
+export DESTDIR="$1"
-python waf/waf-light build
-python waf/waf-light install --destdir="$1"
+cl-meson \
+ --auto-features=auto \
+ -Dalsa=enabled \
+ -Dx11=disabled \
+ -Dlibarchive=disabled \
+ . output
+
+ninja -C output
+ninja -C output install