index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-08-14 07:15:57 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-08-14 07:15:57 +0200 |
commit | 1c5bf8244305aa314e4cff5058105bb1849b9f05 (patch) | |
tree | 39d8790d6bb02dbe347d15b033f2d46c97bbae79 | |
parent | 790dd4e48b62f3075381c2d45ece814a21207325 (diff) |
-rw-r--r-- | extra/ffmpeg/PKGBUILD | 11 |
diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD index cc9d547d..8d7c47cb 100644 --- a/extra/ffmpeg/PKGBUILD +++ b/extra/ffmpeg/PKGBUILD @@ -65,3 +65,14 @@ eval "$( s@--enable-libsvtav1@--disable-libsvtav1@ ' )" + +# -latomic on i486 +if [ "$CARCH" == 'i486' ]; then + depends=(${depends[@]//librav1e.so/}) + eval "$( + declare -f build | \ + sed ' + s@make[^ ]@make EXTRALIBS-ffmpeg=-latomic EXTRALIBS-ffplay=-latomic EXTRALIBS-ffprobe=-latomic@ + ' + )" +fi |