aboutsummaryrefslogtreecommitdiff
path: root/extra/mpv
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
parent48ce61a15ac1079b6faccd4c443bbf2da4253af4 (diff)
downloadrepository-af81de3164042dde097f0e3e882b84154872f13f.tar.gz
mpv: bump to 0.35.0 and switch to meson build system
Diffstat (limited to 'extra/mpv')
-rwxr-xr-xextra/mpv/build18
-rw-r--r--extra/mpv/checksums3
-rw-r--r--extra/mpv/depends5
-rw-r--r--extra/mpv/sources3
-rw-r--r--extra/mpv/version2
5 files changed, 14 insertions, 17 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
diff --git a/extra/mpv/checksums b/extra/mpv/checksums
index 5df13aa0..c71c7155 100644
--- a/extra/mpv/checksums
+++ b/extra/mpv/checksums
@@ -1,3 +1,2 @@
%BLAKE3
-c03350686c6e006cc65c205c42c63417830a9f922c9b3036364e3a722151a86b v0.34.1.tar.gz
-44ab81b619dcff9f3d7846a416365f692d46b08fccc35311029bc3fa2e70e018 waf-2.0.22.tar.bz2
+1316d33b1fbb2e20503b2adb7a903e6ef96dc87d09e8f12b4d3b10caf54aa34d v0.35.0.tar.gz
diff --git a/extra/mpv/depends b/extra/mpv/depends
index 334650cf..0824b900 100644
--- a/extra/mpv/depends
+++ b/extra/mpv/depends
@@ -2,8 +2,5 @@ alsa-lib
ffmpeg
freetype-harfbuzz
libass
-libXScrnSaver
-libXinerama
-libXrandr
mesa
-python make
+meson make
diff --git a/extra/mpv/sources b/extra/mpv/sources
index 6f757431..81f042f9 100644
--- a/extra/mpv/sources
+++ b/extra/mpv/sources
@@ -1,2 +1 @@
-https://github.com/mpv-player/mpv/archive/v0.34.1.tar.gz
-https://waf.io/waf-2.0.22.tar.bz2 waf
+https://github.com/mpv-player/mpv/archive/v0.35.0.tar.gz
diff --git a/extra/mpv/version b/extra/mpv/version
index daab8005..a1308b22 100644
--- a/extra/mpv/version
+++ b/extra/mpv/version
@@ -1 +1 @@
-0.34.1 2
+0.35.0 1