Skip to content
Snippets Groups Projects
Commit e47148b1 authored by Kartik Ohri's avatar Kartik Ohri Committed by Thomas Guillem
Browse files

contrib: add rav1e


Co-Authored-By: default avatarThomas Guillem <thomas@gllm.fr>
parent 617f33c5
No related branches found
No related tags found
Loading
33527a381fe402fc7372ad853d0fb3a15c9ea0be45ff288c41621a979f97967d187f3694f2e2cb2f84af774bbf444ae2d2e22ce3237d76e427b746b03602afc8 rav1e-0.3.4-vendor.tar.bz2
# rav1e-vendor
$(TARBALLS)/rav1e-$(RAV1E_VERSION)-vendor.tar.bz2:
$(call download_vendor,rav1e-$(RAV1E_VERSION)-vendor.tar.bz2,rav1e)
.rav1e-vendor: rav1e-$(RAV1E_VERSION)-vendor.tar.bz2
8c550c7233f849936f9e1e31139a20c99d21b25b01e32fc6722b5033ef882f4ba0ea725b078d2d83acde8c1d50e70b97ec0f8475e2bde35eadf94c90a89fdf9d rav1e-0.3.4.tar.gz
# rav1e
RAV1E_VERSION := 0.3.4
RAV1E_URL := https://github.com/xiph/rav1e/archive/v$(RAV1E_VERSION).tar.gz
ifdef BUILD_RUST
ifdef BUILD_ENCODERS
PKGS += rav1e
endif
endif
ifeq ($(call need_pkg,"rav1e"),)
PKGS_FOUND += rav1e
endif
$(TARBALLS)/rav1e-$(RAV1E_VERSION).tar.gz:
$(call download_pkg,$(RAV1E_URL),rav1e)
.sum-rav1e: rav1e-$(RAV1E_VERSION).tar.gz
RAV1E_FEATURES=--features=asm
rav1e: rav1e-$(RAV1E_VERSION).tar.gz .sum-rav1e .rav1e-vendor
$(UNPACK)
$(CARGO_VENDOR_SETUP)
$(MOVE)
.rav1e: rav1e .cargo
cd $< && $(CARGOC_INSTALL) --no-default-features $(RAV1E_FEATURES)
touch $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment