Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/ffmpeg
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ffmpeg')
-rw-r--r--extra/ffmpeg/PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD
new file mode 100644
index 00000000..483b4b58
--- /dev/null
+++ b/extra/ffmpeg/PKGBUILD
@@ -0,0 +1,19 @@
+# no vamf for non-pentium4
+if [ "$CARCH" == 'i686' ] || [ "$CARCH" == 'i486' ]; then
+ depends=(${depends[@]//vmaf/})
+
+ eval "$(
+ declare -f prepare | \
+ sed '
+ /vmaf/d
+ '
+ )"
+
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-libvmaf/--disable-libvmaf/
+ '
+ )"
+
+fi