From 077cfc76975a5e46a3fb031e684519cf2823aea5 Mon Sep 17 00:00:00 2001 From: Owen Rafferty Date: Wed, 20 Apr 2022 02:44:40 -0700 Subject: [PATCH] mpv: switch to meson (#60) --- extra/mpv/build | 19 +++++++------------ extra/mpv/checksums | 1 - extra/mpv/depends | 1 + extra/mpv/sources | 1 - 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/extra/mpv/build b/extra/mpv/build index 8a48ddcf..d5b581b6 100755 --- a/extra/mpv/build +++ b/extra/mpv/build @@ -17,17 +17,12 @@ export PYTHONPATH } -python waf/waf configure \ +meson \ --prefix=/usr \ - --mandir=/usr/share/man \ - --confdir=/etc/mpv \ - --enable-alsa \ - --enable-wayland \ - --disable-x11 + -Dalsa=enabled \ + -Dwayland=enabled \ + -Dx11=disabled \ + . output -python waf/waf build -python waf/waf install --destdir="$1" - -rm -rf \ - "$1/usr/share/zsh" \ - "$1/usr/share/bash-completion" +ninja -C output +ninja -C output install diff --git a/extra/mpv/checksums b/extra/mpv/checksums index c765d71e..14573a6f 100644 --- a/extra/mpv/checksums +++ b/extra/mpv/checksums @@ -1,2 +1 @@ -28a96115a5b5be47cf65e62c5416d988159d03f062f978e6462024ca93111503 679987caf361a7539d76e584cbeddc311e3aee937877c87346f31debc63e9d06 diff --git a/extra/mpv/depends b/extra/mpv/depends index f0f9f408..d5d3deac 100644 --- a/extra/mpv/depends +++ b/extra/mpv/depends @@ -5,6 +5,7 @@ libass libxkbcommon linux-headers make mesa +meson make pkgconf make python make wayland diff --git a/extra/mpv/sources b/extra/mpv/sources index 8d600fc9..57b8cb13 100644 --- a/extra/mpv/sources +++ b/extra/mpv/sources @@ -1,3 +1,2 @@ git+https://github.com/mpv-player/mpv -https://waf.io/waf-2.0.23.tar.bz2 waf https://files.pythonhosted.org/packages/source/d/docutils/docutils-0.18.1.tar.gz docutils