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.
master
Marius Bakke 2019-03-31 17:57:48 +02:00
parent 3725865f84
commit 799aebd71f
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 1 deletions

View File

@ -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"