From e375c4095d7c3c8e30fe934fcbeb93dff60c06a0 Mon Sep 17 00:00:00 2001 From: Tom spot Callaway Date: Thu, 21 Jan 2021 09:13:12 -0500 Subject: [PATCH] disable vaapi on EL7, libva is too old --- chromium.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/chromium.spec b/chromium.spec index 7ca907f6..fca2869f 100644 --- a/chromium.spec +++ b/chromium.spec @@ -31,8 +31,13 @@ # This doesn't work and it doesn't even build as of Chromium 83 %global build_remoting 1 -# We'd like to always have this on. +# We'd like to always have this on... +# ... but the libva in EL7 is too old. +%if 0%{?rhel} == 7 +%global use_vaapi 0 +%else %global use_vaapi 1 +%endif # Seems like we might need this sometimes # Practically, no. But it's here in case we do.