Exclude rav1e on release variants

This commit is contained in:
BtbN 2020-09-05 18:33:21 +02:00
parent 37fe9aca94
commit 7c69713dab

View file

@ -4,6 +4,7 @@ RAV1E_SRC_PREFIX="https://github.com/xiph/rav1e/releases/download/p20200901"
ffbuild_enabled() {
[[ $TARGET == win32 ]] && return -1
[[ $VARIANT == *4.2* ]] && return -1
return 0
}
@ -41,5 +42,6 @@ ffbuild_configure() {
}
ffbuild_unconfigure() {
[[ $VARIANT == *4.2* ]] && return 0
echo --disable-librav1e
}