summaryrefslogtreecommitdiff
path: root/extra/ffmpeg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ffmpeg/PKGBUILD')
-rw-r--r--extra/ffmpeg/PKGBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD
index 8d7c47cb..9bb8b8fb 100644
--- a/extra/ffmpeg/PKGBUILD
+++ b/extra/ffmpeg/PKGBUILD
@@ -1,5 +1,4 @@
# disable LTO (breaks with too few registers in error: 'asm' operand has impossible constraints
-# also disable mfx - libmfx does not compile
eval "$(
declare -f build | \
sed '
@@ -7,7 +6,15 @@ declare -f build | \
s/--enable-libmfx/--disable-libmfx/
'
)"
+
+# also disable mfx - libmfx does not compile
depends=(${depends[@]//libmfx/})
+eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-libmfx/--disable-libmfx/
+ '
+)"
# no vamf for non-pentium4
if [ "$CARCH" == 'i686' ] || [ "$CARCH" == 'i486' ]; then