From 799aebd71f23f8b5af6a7e7a26321bc5c9bddbb6 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 31 Mar 2019 17:57:48 +0200 Subject: gnu: ungoogled-chromium: Enable VA-API on x86_64-linux only. * gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Conditionally add "use_vaapi" to #:configure-flags. --- gnu/packages/chromium.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/chromium.scm') diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm index 7d49b06ce3..cc968cb5ca 100644 --- a/gnu/packages/chromium.scm +++ b/gnu/packages/chromium.scm @@ -427,7 +427,12 @@ (define-public ungoogled-chromium "use_openh264=true" "use_pulseaudio=true" "link_pulseaudio=true" - "use_vaapi=true" + + ;; VA-API acceleration is currently only supported on x86_64-linux. + ,@(if (string-prefix? "x86_64" (or (%current-target-system) + (%current-system))) + '("use_vaapi=true") + '()) ;; Don't arbitrarily restrict formats supported by system ffmpeg. "proprietary_codecs=true" -- cgit v1.2.3