From 295f6b35ca2b39c23712b123fadcc915998b8885 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 12 Apr 2021 19:21:09 +0200 Subject: community/libavif: ignore rav1e coded on i486 for now (needs Rust) --- community/libavif/PKGBUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'community/libavif') diff --git a/community/libavif/PKGBUILD b/community/libavif/PKGBUILD index 21f0f5ad..10c53c42 100644 --- a/community/libavif/PKGBUILD +++ b/community/libavif/PKGBUILD @@ -6,3 +6,15 @@ eval "$( s/-DAVIF_CODEC_SVT=ON/-DAVIF_CODEC_SVT=OFF/ ' )" + +# on i486 we ignore rav1e for now (needs rust) +if [ "$CARCH" = 'i486' ]; then + depends=(${depends[@]//rav1e/}) + eval "$( + declare -f build | \ + sed ' + s/-DAVIF_CODEC_RAV1E=ON/-DAVIF_CODEC_RAV1E=OFF/ + ' + )" +fi + -- cgit v1.2.3