Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-08-26 17:29:11 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-08-26 17:29:11 +0200
commit991f6afa04f99ccf70bcc6ce731143ef3eaf45c8 (patch)
treeb04b717e93175051e26c30b27d6fd21a4f154532 /extra
parent0f81aec5eaabc674b60134af3e3851935a10f1a6 (diff)
extra/ffmpeg: breaking another cycle with libdav1d
Diffstat (limited to 'extra')
-rw-r--r--extra/ffmpeg/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD
new file mode 100644
index 00000000..9dbe9953
--- /dev/null
+++ b/extra/ffmpeg/PKGBUILD
@@ -0,0 +1,13 @@
+# disable x264/xs265/dav1d to break cycles
+depends=(${depends[@]//libx264.so/})
+depends=(${depends[@]//libx265.so/})
+depends=(${depends[@]//libdav1d.so/})
+
+eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-libx264/--disable-libx264/
+ s/--enable-libx265/--disable-libx265/
+ s/--enable-libdav1d/--disable-libdav1d/
+ '
+)"