3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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.
This commit is contained in:
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

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"