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:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-08-26 16:19:02 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-08-26 16:19:02 +0200
commitf3947b710e8a12348d7d0f2ac815b7bebaf003c2 (patch)
tree2c4ec0e8bd1968048d33d450f6a23ba7bb7bd880 /extra/ffmpeg/PKGBUILD
parent010738591cacfc6deb2e61c2c4699e788a5ab9b3 (diff)
extra/ffmpeg: another x264/x265 untangling
Diffstat (limited to 'extra/ffmpeg/PKGBUILD')
-rw-r--r--extra/ffmpeg/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD
new file mode 100644
index 00000000..16b0db61
--- /dev/null
+++ b/extra/ffmpeg/PKGBUILD
@@ -0,0 +1,11 @@
+# disable x264/xs265 to break cycles
+depends=(${depends[@]//libx264.so/})
+depends=(${depends[@]//libx265.so/})
+
+eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-libx264/--disable-libx264/
+ s/--enable-libx265/--disable-libx265/
+ '
+)"