Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/ffmpeg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ffmpeg/PKGBUILD')
-rw-r--r--extra/ffmpeg/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD
index f0f6f8e1..7c2a7aed 100644
--- a/extra/ffmpeg/PKGBUILD
+++ b/extra/ffmpeg/PKGBUILD
@@ -20,3 +20,32 @@ fi
# force picking of a modern libvpx and not libvpx1.3 needed for steam
makedepends+=('libvpx>=1.8.2')
+
+# no AviSynthPlus on i486 (uses Intel intrinsics and cmake support for
+# disabling it is broken)
+makedepends=(${makedepends[@]//avisynthplus/})
+makedepends_i686+=(avisynthplus)
+makedepends_pentium4=("${makedepends_i686[@]}")
+if [ "$CARCH" == 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/-enable-avisynth/--disable-avisynth/
+ '
+ )"
+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