gnu: libavif: Update to 0.7.1.
* gnu/packages/image.scm (libavif): Update to 0.7.1. [arguments]: Run the test suite.master
parent
190f460f98
commit
d7041a69ed
|
@ -1942,7 +1942,7 @@ This package can be used to create @code{favicon.ico} files for web sites.")
|
||||||
(define-public libavif
|
(define-public libavif
|
||||||
(package
|
(package
|
||||||
(name "libavif")
|
(name "libavif")
|
||||||
(version "0.6.3")
|
(version "0.7.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(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))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0fn2mcpvzw6h9sv8h0icbz10i8ihzzf5d5mx3fc4pvhicyz4syq8"))))
|
"1xybjbbprvfsrwgysrn7grg6yp7v6ch5vci7zvdcdzcgyrbph172"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("-DAVIF_CODEC_AOM=ON" "-DAVIF_CODEC_DAV1D=ON"
|
`(#: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")
|
"-DAVIF_BUILD_TESTS=ON")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(invoke "./aviftest" "../source/tests/data")))
|
||||||
(add-after 'install 'install-readme
|
(add-after 'install 'install-readme
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(doc (string-append out "/share/doc/libavif-"
|
(doc (string-append out "/share/doc/libavif-" ,version)))
|
||||||
,version)))
|
(install-file "../source/README.md" doc)
|
||||||
(install-file "../source/README.md" doc)))))
|
#t))))))
|
||||||
;; 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))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("libaom" ,libaom)
|
`(("libaom" ,libaom)
|
||||||
("dav1d" ,dav1d)))
|
("dav1d" ,dav1d)))
|
||||||
|
|
Reference in New Issue