aboutsummaryrefslogtreecommitdiff
path: root/extra/mpv/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-11-14 18:10:20 +0100
committerCem Keylan <cem@ckyln.com>2022-11-14 18:10:30 +0100
commitaf81de3164042dde097f0e3e882b84154872f13f (patch)
tree0641e3b04685a5194099d736f08a0cfdb4e8d3e5 /extra/mpv/build
parent48ce61a15ac1079b6faccd4c443bbf2da4253af4 (diff)
downloadrepository-af81de3164042dde097f0e3e882b84154872f13f.tar.gz
mpv: bump to 0.35.0 and switch to meson build system
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