diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-01-03 22:37:09 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-01-04 09:51:44 +0200 |
commit | fe1ed81d28dcc5d6448d2eb6431397bbd10a2a55 (patch) | |
tree | 4ceef4f4baff362358360ac2f5415907a11bddb6 /gnu/packages/image.scm | |
parent | 9c098979a2ce5732d689ddf919aa9bd3464d9d3d (diff) |
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.
Diffstat (limited to 'gnu/packages/image.scm')
-rw-r--r-- | gnu/packages/image.scm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 53e5363dcd..6daf479c81 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -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 |