Commit ad8371d9 authored by Oleg Titov's avatar Oleg Titov
Browse files

testing/rav1e: new aport

https://github.com/xiph/rav1e
The fastest and safest AV1 encoder
parent f930ee93
Pipeline #4055 failed with stages
in 41 minutes
# Contributor: Oleg Titov <oleg.titov@gmail.com>
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
pkgname=rav1e
pkgver=0.2.0
pkgrel=0
pkgdesc="The fastest and safest AV1 encoder"
url="https://github.com/xiph/rav1e"
arch="all !s390x" # no cargo for s390x
license="BSD-2-Clause custom"
options="!check" # No test suite from upstream
makedepends="cargo nasm"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/xiph/rav1e/archive/v$pkgver.tar.gz"
prepare() {
RUSTFLAGS="-C opt-level=0" \
cargo install --force --root "$srcdir" cargo-c
}
package() {
cargo install --root "$pkgdir/usr" --path .
"$srcdir/bin/cargo-cinstall" install \
--release --destdir "$pkgdir" --prefix "/usr"
install -Dm 644 -t "$pkgdir/usr/share/doc/rav1e" README.md
install -Dm 644 -t "$pkgdir/usr/share/doc/rav1e" PATENTS
rm "$pkgdir/usr/.crates.toml"
}
sha512sums="f9f218007742de1f97a75866cc562d055f6bcf704c4ad5c216b680f8d65b1e958fc8c6db2bd3cb78a6d97c880c08b603d4235b6297ea3d592ff196866d9617c8 rav1e-0.2.0.tar.gz"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment