aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-05-05 07:51:58 +0200
committerAnton Khirnov <anton@khirnov.net>2013-05-07 12:32:14 +0200
commit9779f93066ee5ea6fba6b76f001d358cc2857891 (patch)
treed67b3a32974bd1c5c532ea8ab62ceb0f64d50109 /configure
parentbce70f8170592599a4f2f5f02606c1246e88df57 (diff)
downloadffmpeg-9779f93066ee5ea6fba6b76f001d358cc2857891.tar.gz
configure: add dependencies to lavfi .pc file
The scale filter depends on sws, resample on lavr, and movie on lavf and lavc. Fixes Bug 502.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index 84f5272225..44e626211d 100755
--- a/configure
+++ b/configure
@@ -4165,10 +4165,15 @@ Cflags: -I\${includedir}
EOF
}
+lavfi_libs="libavutil = $LIBAVUTIL_VERSION"
+enabled movie_filter && prepend lavfi_libs "libavformat >= $LIBAVFORMAT_VERSION, libavcodec >= $LIBAVCODEC_VERSION,"
+enabled resample_filter && prepend lavfi_libs "libavresample >= $LIBAVRESAMPLE_VERSION,"
+enabled scale_filter && prepend lavfi_libs "libswscale >= $LIBSWSCALE_VERSION,"
+
pkgconfig_generate libavutil "Libav utility library" "$LIBAVUTIL_VERSION" "$LIBM"
pkgconfig_generate libavcodec "Libav codec library" "$LIBAVCODEC_VERSION" "$extralibs" "libavutil = $LIBAVUTIL_VERSION"
pkgconfig_generate libavformat "Libav container format library" "$LIBAVFORMAT_VERSION" "$extralibs" "libavcodec = $LIBAVCODEC_VERSION"
pkgconfig_generate libavdevice "Libav device handling library" "$LIBAVDEVICE_VERSION" "$extralibs" "libavformat = $LIBAVFORMAT_VERSION"
-pkgconfig_generate libavfilter "Libav video filtering library" "$LIBAVFILTER_VERSION" "$extralibs" "libavutil = $LIBAVUTIL_VERSION"
+pkgconfig_generate libavfilter "Libav video filtering library" "$LIBAVFILTER_VERSION" "$extralibs" "$lavfi_libs"
pkgconfig_generate libavresample "Libav audio resampling library" "$LIBAVRESAMPLE_VERSION" "$extralibs" "libavutil = $LIBAVUTIL_VERSION"
pkgconfig_generate libswscale "Libav image rescaling library" "$LIBSWSCALE_VERSION" "$LIBM" "libavutil = $LIBAVUTIL_VERSION"