Patch aom to support built-in vmaf models

This commit is contained in:
BtbN
2021-04-15 21:43:35 +02:00
parent a3cf605fa9
commit 08b987be81
2 changed files with 33 additions and 0 deletions

View File

@ -7,10 +7,19 @@ ffbuild_enabled() {
return 0
}
ffbuild_dockerstage() {
to_df "RUN --mount=src=${SELF},dst=/stage.sh --mount=src=patches/aom,dst=/patches run_stage /stage.sh"
}
ffbuild_dockerbuild() {
git-mini-clone "$AOM_REPO" "$AOM_COMMIT" aom
cd aom
for patch in /patches/*.patch; do
echo "Applying $patch"
git am < "$patch"
done
mkdir cmbuild && cd cmbuild
# Workaround broken build system