aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-03-31 17:57:48 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-03-31 21:26:17 +0200
commit799aebd71f23f8b5af6a7e7a26321bc5c9bddbb6 (patch)
treee236aa8d0cb982e8ba2b4c4181e83fb90fe23f66
parent3725865f8448b76f4573eda8dc62214a1350761b (diff)
downloadguix-799aebd71f23f8b5af6a7e7a26321bc5c9bddbb6.tar
guix-799aebd71f23f8b5af6a7e7a26321bc5c9bddbb6.tar.gz
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.
-rw-r--r--gnu/packages/chromium.scm7
1 files changed, 6 insertions, 1 deletions
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 @@ depends = linux_rooted\n")))
"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"