From 2a88e6bdb9952d1e96a30a16217ccb60fcf0b2f7 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 10 Apr 2021 14:56:36 +0200 Subject: extra/ffmpeg: ignoring rav1e on i486 --- extra/ffmpeg/PKGBUILD | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD index be7aebbe..a2634b99 100644 --- a/extra/ffmpeg/PKGBUILD +++ b/extra/ffmpeg/PKGBUILD @@ -46,17 +46,13 @@ if [ "$CARCH" == 'i486' ]; then )" fi -# still required dependencies on i486: -# sdl2 -# - ibus -# - gtk3 -# - libnotify -# - python-gobject -# - gtk2 -# - qt5-base -# - unicode-cldr -# - fcitx -# v4l-utils -# - qt5-base -# - mariadb-libs -# - qtk3 +# no rav1e on i486, no Rust (yet) +if [ "$CARCH" == 'i486' ]; then + depends=(${depends[@]//librav1e.so/}) + eval "$( + declare -f build | \ + sed ' + s@--enable-librav1e@--disable-librav1e@ + ' + )" +fi -- cgit v1.2.3-70-g09d2