From 2b5da4804cbd54ee780d5abddd17d83fbd2cddec Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 22 Sep 2017 05:35:26 +0200 Subject: build: make vo_gpu + infrastructure non-optional Also readd the the error message for when no GL backends are found (why was this removed?). --- wscript | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index a50dcfed69..c1162a041e 100644 --- a/wscript +++ b/wscript @@ -788,15 +788,10 @@ video_output_features = [ + 'gl-win32 || gl-wayland || rpi || mali-fbdev || ' + 'plain-gl', 'func': check_true, - }, { - 'name': '--gpu', - 'desc': 'GPU-accelerated video output support', - 'deps': 'gl', - 'func': check_true, 'req': True, - 'fmsg': "No GPU context found or enabled. Aborting. " + - "If you really mean to compile without support for " + - "`--vo=gpu`, then use --disable-gpu." + 'fmsg': "No OpenGL video output found or enabled. " + + "Aborting. If you really mean to compile without OpenGL " + + "video outputs use --disable-gl.", }, { 'name': 'egl-helpers', 'desc': 'EGL helper functions', -- cgit v1.2.3