summarylogtreecommitdiffstats
path: root/ffmpeg-link.patch
diff options
context:
space:
mode:
authorDavid Runge2018-12-30 15:00:18 +0100
committerDavid Runge2018-12-30 15:00:18 +0100
commitffe54da0ec6cb01967581287fbbc1813cab1311d (patch)
treec2db79bdac0e1dcf701da7c8e6170494eee210ef /ffmpeg-link.patch
downloadaur-ffe54da0ec6cb01967581287fbbc1813cab1311d.tar.gz
PKGBUILD: Moving cinelerra-cv to the AUR.
Diffstat (limited to 'ffmpeg-link.patch')
-rw-r--r--ffmpeg-link.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/ffmpeg-link.patch b/ffmpeg-link.patch
new file mode 100644
index 000000000000..a18e35e60a9f
--- /dev/null
+++ b/ffmpeg-link.patch
@@ -0,0 +1,24 @@
+--- configure.ac
++++ configure.ac
+@@ -497,7 +497,7 @@
+ AC_ARG_WITH([external-ffmpeg], AC_HELP_STRING([--with-external-ffmpeg], [use external ffmpeg library]))
+
+ if test "x$with_external_ffmpeg" = "xyes"; then
+- PKG_CHECK_MODULES([FFMPEG_TEMP], [libavcodec libpostproc])
++ PKG_CHECK_MODULES([FFMPEG_TEMP], [libavcodec libpostproc libavutil])
+ FFMPEG_FOLDER=""
+ FFMPEG_EXTERNALTEXT="External ffmpeg"
+
+@@ -515,10 +515,10 @@
+ AC_MSG_RESULT($enable_ffmpeg_swscale)
+ if test x"$enable_ffmpeg_swscale" = xyes; then
+ dnl AC_DEFINE(HAVE_SWSCALER)
+- PKG_CHECK_MODULES([FFMPEG], [libavcodec libpostproc libswscale])
++ PKG_CHECK_MODULES([FFMPEG], [libavcodec libpostproc libswscale libavutil])
+ FFMPEG_CFLAGS="$FFMPEG_CFLAGS -I/usr/include/libavcodec -I/usr/include/libswscale -DHAVE_SWSCALER"
+ else
+- PKG_CHECK_MODULES([FFMPEG], [libavcodec libpostproc])
++ PKG_CHECK_MODULES([FFMPEG], [libavcodec libpostproc libavutil])
+ fi
+ FFMPEG_EXTERNALTEXT="External ffmpeg"
+ else