diff options
-rw-r--r-- | extra/ffmpeg/PKGBUILD | 24 |
1 files 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 |