gnu: libaom: Add AVIF support.

* gnu/packages/video.scm (libaom): Update to 1.0.0-errata1-avif.
This commit is contained in:
Leo Famulari 2020-02-15 12:28:43 -05:00
parent b5aa17adea
commit 08cc13974f
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -272,22 +272,18 @@ (define-public liba52
(license license:gpl2+))) (license license:gpl2+)))
(define-public libaom (define-public libaom
;; The 1.0.0-errata1 release installs a broken pkg-config .pc file. This
;; is fixed in libaom commit 0ddc150, but we use an even later commit.
(let ((commit "22b150bf040608028a56d8bf39e72f771383d836")
(revision "0"))
(package (package
(name "libaom") (name "libaom")
(version (git-version "1.0.0-errata1" revision commit)) (version "1.0.0-errata1-avif")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://aomedia.googlesource.com/aom/") (url "https://aomedia.googlesource.com/aom/")
(commit commit))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1pdd5h3n42607n6qmggz4yv8izhjr2kl6knb3kh7gh4v0vy47h1r")))) "169yfgh7zigc21h71qclfyr7s4wwp2i9vbr4z6pkabypvass4v7m"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("perl" ,perl) `(("perl" ,perl)
@ -304,9 +300,9 @@ (define-public libaom
(assoc-ref %outputs "out"))))) (assoc-ref %outputs "out")))))
(home-page "https://aomedia.googlesource.com/aom/") (home-page "https://aomedia.googlesource.com/aom/")
(synopsis "AV1 video codec") (synopsis "AV1 video codec")
(description "Libaom is the reference implementation of AV1. It includes (description "Libaom is the reference implementation of AV1. It includes a
a shared library and encoder and decoder command-line executables.") shared library and encoder and decoder command-line executables.")
(license license:bsd-2)))) (license license:bsd-2)))
(define-public libmpeg2 (define-public libmpeg2
(package (package