summaryrefslogtreecommitdiff
path: root/build-support/extra/ffmpeg/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-08-09 16:00:12 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-08-09 16:00:12 +0200
commitbb5ec79bf38d91a08448fcdbca991a2c005711ce (patch)
treec97fecc7e7db4736a3581e985a6ccc1ef5296ed0 /build-support/extra/ffmpeg/PKGBUILD
parent42a0039782403aa0cda8619a86eb340f677f452c (diff)
downloadpackages-bb5ec79bf38d91a08448fcdbca991a2c005711ce.tar.xz
build-support: added ffmpeg break-cycle PKGBUILD
Diffstat (limited to 'build-support/extra/ffmpeg/PKGBUILD')
-rw-r--r--build-support/extra/ffmpeg/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/build-support/extra/ffmpeg/PKGBUILD b/build-support/extra/ffmpeg/PKGBUILD
new file mode 100644
index 00000000..16b0db61
--- /dev/null
+++ b/build-support/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/
+ '
+)"