0002-ffmpeg-revert-minimum-required-version-numbers.patch 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. From 78a7b7365a67fa2f5394c6b4ca39de01b00416dc Mon Sep 17 00:00:00 2001
  2. From: Bernd Kuhls <bernd.kuhls@t-online.de>
  3. Date: Sat, 2 Apr 2016 19:05:52 +0200
  4. Subject: [PATCH 1/1] ffmpeg: revert minimum required version numbers
  5. This commit reverts the minimum version numbers required by configure to
  6. the values before
  7. https://github.com/tvheadend/tvheadend/commit/1359effe28a0381b8c9cbd362d6e144fb87b00fc#diff-e2d5a00791bce9a01f99bc6fd613a39dL486
  8. in order to allow compilation with older versions of ffmpeg again.
  9. Please note that the previous version numbers of all ffmpeg libs, with
  10. the exception of libavfilter, are those of ffmpeg 2.0.7:
  11. https://ffmpeg.org/olddownload.html
  12. Therefore I synced the minimum version number required for libavfilter to
  13. 3.79.101 and not to 4.0.0 as previous in tvheadend's configure script.
  14. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  15. [Patch sent upstream: https://github.com/tvheadend/tvheadend/pull/838]
  16. ---
  17. configure | 14 +++++++-------
  18. 1 file changed, 7 insertions(+), 7 deletions(-)
  19. diff --git a/configure b/configure
  20. index be3d2e2..2ffd280 100755
  21. --- a/configure
  22. +++ b/configure
  23. @@ -512,13 +512,13 @@ else
  24. if enabled_or_auto libav; then
  25. has_libav=true
  26. - check_pkg libavfilter ">=6.31.100" || has_libav=false
  27. - check_pkg libswresample ">=2.0.101" || has_libav=false
  28. - check_pkg libavresample ">=3.0.0" || has_libav=false
  29. - check_pkg libswscale ">=4.0.100" || has_libav=false
  30. - check_pkg libavformat ">=57.25.100" || has_libav=false
  31. - check_pkg libavcodec ">=57.24.102" || has_libav=false
  32. - check_pkg libavutil ">=55.17.103" || has_libav=false
  33. + check_pkg libavfilter ">=3.79.101" || has_libav=false
  34. + check_pkg libswresample ">=0.17.102" || has_libav=false
  35. + check_pkg libavresample ">=1.1.0" || has_libav=false
  36. + check_pkg libswscale ">=2.3.100" || has_libav=false
  37. + check_pkg libavformat ">=55.12.100" || has_libav=false
  38. + check_pkg libavcodec ">=55.18.102" || has_libav=false
  39. + check_pkg libavutil ">=52.38.100" || has_libav=false
  40. if $has_libav; then
  41. enable libav
  42. --
  43. 2.8.0.rc3