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=bc155a5801a0d402b16cd42ca1392168d299b70b
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 '8a4c208534dcc2b6f272eb154aad5b01767b6d09c82735109646173efdda5cf4ed2d4775d437af5aa70cbc3e937d4f5c55eac4738c52441c3fdec7ee7e65ac38')
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/