1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Daniel Bermond <dbermond@archlinux.org>
3 # Contributor: Chocobo1 <chocobo1@archlinux.net>
8 pkgdesc='An AV1 encoder focused on speed and safety'
10 url=https://github.com/xiph/rav1e/
23 provides=(librav1e.so)
24 _tag=0fb96baa0a8c2a539ad0c148b6b2f9cfed37707a
26 git+https://github.com/xiph/rav1e.git#tag=${_tag}
27 Cargo-rav1e-${pkgver}.lock::https://github.com/xiph/rav1e/releases/download/v${pkgver}/Cargo.lock
30 '6996c71a299ebcb5d3e4b2b4a3b46d0b14ce9ca1668cbf3d867669ddb798a7a038739b81db5b2816942f8207260658478f93d68b206735d129222a109e2f64f8')
34 git describe --tags | sed 's/^v//'
38 cp -f Cargo-rav1e-${pkgver}.lock rav1e/Cargo.lock
41 --manifest-path rav1e/Cargo.toml
45 export LDFLAGS+=' -lgit2'
49 --manifest-path rav1e/Cargo.toml
54 --manifest-path rav1e/Cargo.toml
61 --manifest-path rav1e/Cargo.toml
71 --root "${pkgdir}"/usr
77 install -Dm 644 LICENSE PATENTS -t "${pkgdir}"/usr/share/licenses/rav1e/