mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: ffmpeg: Enable rav1e on x86_64 only.
Fixes <https://bugs.gnu.org/41993>. Reported by Kurt I <gitlabcanada@runbox.com>. * gnu/packages/video.scm (ffmpeg)[inputs]: Conditionally add RAV1E. [arguments]: Adjust #:configure-flags accordingly.
This commit is contained in:
parent
1cb9effc3e
commit
402d03751c
1 changed files with 10 additions and 2 deletions
|
@ -971,7 +971,12 @@ (define-public ffmpeg
|
|||
("mesa" ,mesa)
|
||||
("openal" ,openal)
|
||||
("pulseaudio" ,pulseaudio)
|
||||
("rav1e" ,rav1e)
|
||||
;; XXX: rav1e depends on rust, which currently only works on x86_64.
|
||||
;; See also the related configure flag when changing this.
|
||||
,@(if (string-prefix? "x86_64" (or (%current-target-system)
|
||||
(%current-system)))
|
||||
`(("rav1e" ,rav1e))
|
||||
'())
|
||||
("sdl" ,sdl2)
|
||||
("soxr" ,soxr)
|
||||
("speex" ,speex)
|
||||
|
@ -1053,7 +1058,10 @@ (define-public ffmpeg
|
|||
"--enable-libmp3lame"
|
||||
"--enable-libopus"
|
||||
"--enable-libpulse"
|
||||
"--enable-librav1e"
|
||||
,@(if (string-prefix? "x86_64" (or (%current-target-system)
|
||||
(%current-system)))
|
||||
'("--enable-librav1e")
|
||||
'())
|
||||
"--enable-libsoxr"
|
||||
"--enable-libspeex"
|
||||
"--enable-libtheora"
|
||||
|
|
Loading…
Reference in a new issue