pantry/projects/crates.io/cavif/package.yml
Kevin Chen a44a251288
+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>
2023-11-22 13:20:00 -05:00

22 lines
446 B
YAML

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}}"