mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: libavif: Add configure-flag for rav1e when available.
* gnu/packages/image.scm (libavif)[arguments]: Adjust configure-flags to build with rav1e support when it is in the build closure.
This commit is contained in:
parent
9c098979a2
commit
fe1ed81d28
1 changed files with 3 additions and 5 deletions
|
@ -2172,11 +2172,9 @@ (define-public libavif
|
|||
(list
|
||||
#:configure-flags
|
||||
#~(list "-DAVIF_CODEC_AOM=ON" "-DAVIF_CODEC_DAV1D=ON"
|
||||
#$@(if (string-prefix? "x86_64"
|
||||
(or (%current-target-system)
|
||||
(%current-system)))
|
||||
'("-DAVIF_CODEC_RAV1E=ON")
|
||||
'())
|
||||
#$@(if (this-package-input "rav1e")
|
||||
'("-DAVIF_CODEC_RAV1E=ON")
|
||||
'())
|
||||
"-DAVIF_BUILD_TESTS=ON" "-DAVIF_BUILD_APPS=ON")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
|
|
Loading…
Reference in a new issue