mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-09 22:50:34 +02: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:
@@ -2172,11 +2172,9 @@ This package can be used to create @code{favicon.ico} files for web sites.")
|
||||
(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
|
||||
|
||||
Reference in New Issue
Block a user