mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+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:
parent
1245af6a42
commit
a44a251288
1 changed files with 22 additions and 0 deletions
22
projects/crates.io/cavif/package.yml
Normal file
22
projects/crates.io/cavif/package.yml
Normal 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}}"
|
Loading…
Reference in a new issue