forked from kiss-community/repo
mpv: remove mandatory libva dependency
This commit is contained in:
parent
50a424a046
commit
e81370da0e
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
patch -p1 < libva.patch
|
||||||
|
|
||||||
# Setup docutils to generate manual pages.
|
# Setup docutils to generate manual pages.
|
||||||
{
|
{
|
||||||
cd docutils
|
cd docutils
|
||||||
|
@ -1 +1,2 @@
|
|||||||
33995a6753c30b7f577febfc2c50411fec6aac7f7ffeb7c4cfe5991072dcf9e6
|
33995a6753c30b7f577febfc2c50411fec6aac7f7ffeb7c4cfe5991072dcf9e6
|
||||||
|
fc2de250a91d073ad9d0815b9b1cca352ed20ebf3d4bed9688339aded9a2aaf2
|
||||||
|
@ -2,7 +2,6 @@ alsa-lib
|
|||||||
ffmpeg
|
ffmpeg
|
||||||
freetype-harfbuzz
|
freetype-harfbuzz
|
||||||
libass
|
libass
|
||||||
libva
|
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
linux-headers make
|
linux-headers make
|
||||||
mesa
|
mesa
|
||||||
|
13
extra/mpv/patches/libva.patch
Normal file
13
extra/mpv/patches/libva.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/meson.build b/meson.build
|
||||||
|
index 8554573bfa..e710dc87b0 100644
|
||||||
|
--- a/meson.build
|
||||||
|
+++ b/meson.build
|
||||||
|
@@ -1376,7 +1376,7 @@ if features['vaapi-x11']
|
||||||
|
endif
|
||||||
|
|
||||||
|
features += {'vaapi-x-egl': features['vaapi-x11'] and egl_x11.allowed()}
|
||||||
|
-features += {'vaapi-egl': features['vaapi-x11'] or features['vaapi-wayland'] or features['drm']}
|
||||||
|
+features += {'vaapi-egl': features['vaapi-x11'] or features['vaapi-wayland'] or features['vaapi-drm']}
|
||||||
|
features += {'vaapi-libplacebo': features['vaapi'] and libplacebo.found()}
|
||||||
|
|
||||||
|
if features['vaapi-egl'] or features['vaapi-libplacebo']
|
@ -1,2 +1,3 @@
|
|||||||
git+https://github.com/mpv-player/mpv
|
git+https://github.com/mpv-player/mpv
|
||||||
https://files.pythonhosted.org/packages/source/d/docutils/docutils-0.19.tar.gz docutils
|
https://files.pythonhosted.org/packages/source/d/docutils/docutils-0.19.tar.gz docutils
|
||||||
|
patches/libva.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user