+cavif — Encoder/converter for AVIF images (#4178)

* +cavif — Encoder/converter for AVIF images

* nasm on x86-64

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
Kevin Chen 2023-11-22 13:20:00 -05:00 committed by GitHub
parent 1245af6a42
commit a44a251288
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,22 @@
distributable:
url: https://github.com/kornelski/cavif-rs/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/cavif
versions:
github: kornelski/cavif-rs
strip: /v/
build:
dependencies:
rust-lang.org: ">=1.65"
rust-lang.org/cargo: "*"
x86-64:
nasm.us: '*'
script: cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(cavif --version)" = "cavif-rs {{version}}"