diff options
author | Leo Famulari <leo@famulari.name> | 2020-04-18 14:42:53 -0400 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2020-04-18 15:08:36 -0400 |
commit | d7041a69ed01984bf1109a0027cf9f227f03a081 (patch) | |
tree | d3fc71511a45f215159b8f6be7d2130f42a35df4 | |
parent | 190f460f983e5cfbfe395b04503520513390f63c (diff) | |
download | guix-d7041a69ed01984bf1109a0027cf9f227f03a081.tar.gz guix-d7041a69ed01984bf1109a0027cf9f227f03a081.zip |
gnu: libavif: Update to 0.7.1.
* gnu/packages/image.scm (libavif): Update to 0.7.1.
[arguments]: Run the test suite.
-rw-r--r-- | gnu/packages/image.scm | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 8d44bae9ac..7b1d41cfa5 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -1942,7 +1942,7 @@ This package can be used to create @code{favicon.ico} files for web sites.") (define-public libavif (package (name "libavif") - (version "0.6.3") + (version "0.7.1") (source (origin (method git-fetch) (uri (git-reference @@ -1951,7 +1951,7 @@ This package can be used to create @code{favicon.ico} files for web sites.") (file-name (git-file-name name version)) (sha256 (base32 - "0fn2mcpvzw6h9sv8h0icbz10i8ihzzf5d5mx3fc4pvhicyz4syq8")))) + "1xybjbbprvfsrwgysrn7grg6yp7v6ch5vci7zvdcdzcgyrbph172")))) (build-system cmake-build-system) (arguments `(#:configure-flags '("-DAVIF_CODEC_AOM=ON" "-DAVIF_CODEC_DAV1D=ON" @@ -1959,18 +1959,15 @@ This package can be used to create @code{favicon.ico} files for web sites.") "-DAVIF_BUILD_TESTS=ON") #:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "./aviftest" "../source/tests/data"))) (add-after 'install 'install-readme (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) - (doc (string-append out "/share/doc/libavif-" - ,version))) - (install-file "../source/README.md" doc))))) -;; The test suite runs tests for all supported codecs and fails because we don't -;; have rav1e yet. -;; (replace 'check -;; (lambda _ -;; (invoke "./aviftest" "../source/tests/data")))) - #:tests? #f)) + (doc (string-append out "/share/doc/libavif-" ,version))) + (install-file "../source/README.md" doc) + #t)))))) (inputs `(("libaom" ,libaom) ("dav1d" ,dav1d))) |