aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2020-12-24 20:55:29 -0300
committerLeo Famulari <leo@famulari.name>2020-12-24 23:10:16 -0500
commit430c17c9f2b5c40a6fc45ef87815ca0905e036c1 (patch)
tree8f716ba343a03fedf51cc1acb5fbe36edd7419ea
parent66f10906d2e3a621d9543ed1998225af7e1354b2 (diff)
downloadguix-430c17c9f2b5c40a6fc45ef87815ca0905e036c1.tar
guix-430c17c9f2b5c40a6fc45ef87815ca0905e036c1.tar.gz
gnu: libavif: Add support for rav1e.
* gnu/packages/image.scm (libavif)[arguments]: Pass "-DAVIF_CODEC_RAV1E=ON" to #:configure-flags. [inputs]: Add rav1e. Signed-off-by: Leo Famulari <leo@famulari.name>
-rw-r--r--gnu/packages/image.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 6086f5b1b6..5f7b8bb9b3 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -2096,7 +2096,7 @@ This package can be used to create @code{favicon.ico} files for web sites.")
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DAVIF_CODEC_AOM=ON" "-DAVIF_CODEC_DAV1D=ON"
- "-DAVIF_CODEC_RAV1E=OFF" ; not packaged yet
+ "-DAVIF_CODEC_RAV1E=ON"
"-DAVIF_BUILD_TESTS=ON")
#:phases
(modify-phases %standard-phases
@@ -2110,8 +2110,9 @@ This package can be used to create @code{favicon.ico} files for web sites.")
(install-file "../source/README.md" doc)
#t))))))
(inputs
- `(("libaom" ,libaom)
- ("dav1d" ,dav1d)))
+ `(("dav1d" ,dav1d)
+ ("libaom" ,libaom)
+ ("rav1e" ,rav1e)))
(synopsis "Encode and decode AVIF files")
(description "Libavif is a C implementation of @acronym{AVIF, the AV1 Image
File Format}. It can encode and decode all YUV formats and bit depths supported