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:
parent
3725865f84
commit
799aebd71f
1 changed files with 6 additions and 1 deletions
|
@ -427,7 +427,12 @@ depends = linux_rooted\n")))
|
||||||
"use_openh264=true"
|
"use_openh264=true"
|
||||||
"use_pulseaudio=true"
|
"use_pulseaudio=true"
|
||||||
"link_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.
|
;; Don't arbitrarily restrict formats supported by system ffmpeg.
|
||||||
"proprietary_codecs=true"
|
"proprietary_codecs=true"
|
||||||
|
|
Reference in a new issue