summaryrefslogtreecommitdiffstats
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-07-12 20:11:32 -0500
committerDudemanguy <random342@airmail.cc>2023-07-14 14:24:45 +0000
commit2616b2b11eac26dfbb85926477a652d2a0540ef6 (patch)
tree127ff33a2175caf750bfe7a767a4bceee9222801 /meson_options.txt
parentcf0373e15bbe3da8af7b3d1bbe1ae5caee9672cf (diff)
downloadmpv-2616b2b11eac26dfbb85926477a652d2a0540ef6.tar.bz2
mpv-2616b2b11eac26dfbb85926477a652d2a0540ef6.tar.xz
build: make dmabuf-wayland a build option and require drm
It makes more sense as an option at this point. Also libdrm is not optional at all. You have to get a drm format and modifier for this to even work (the VO will just fail without DRM). Just hard require it and remove the guards. vaapi can remain optional.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 65047b110f..5f2d31df3d 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -58,6 +58,7 @@ option('caca', type: 'feature', value: 'auto', description: 'CACA')
option('cocoa', type: 'feature', value: 'auto', description: 'Cocoa')
option('d3d11', type: 'feature', value: 'auto', description: 'Direct3D 11 video output')
option('direct3d', type: 'feature', value: 'auto', description: 'Direct3D support')
+option('dmabuf-wayland', type: 'feature', value: 'auto', description: 'dmabuf-wayland video output')
option('drm', type: 'feature', value: 'auto', description: 'DRM')
option('egl', type: 'feature', value: 'auto', description: 'EGL 1.4')
option('egl-android', type: 'feature', value: 'auto', description: 'Android EGL support')