diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-12-06 04:06:30 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-12-06 04:06:30 +0300 |
commit | 16970c0ddf1d15431fce721f3d1d35068ec9a469 (patch) | |
tree | 8780011b86f42f2741ed2658d8ffbc2eb6d8e89a | |
parent | 7dcd8f6ff18292756013ef44590ff4e0dbe7a432 (diff) |
missed patch
-rw-r--r-- | media-video/mpv/files/mpv-fix-ffmpeg-mpv-version-check.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-video/mpv/files/mpv-fix-ffmpeg-mpv-version-check.patch b/media-video/mpv/files/mpv-fix-ffmpeg-mpv-version-check.patch new file mode 100644 index 0000000..9b5558d --- /dev/null +++ b/media-video/mpv/files/mpv-fix-ffmpeg-mpv-version-check.patch @@ -0,0 +1,45 @@ +diff --git a/wscript b/wscript +--- a/wscript ++++ b/wscript +@@ -426,20 +426,20 @@ + ] + + ffmpeg_pkg_config_checks = [ +- 'libavutil', '>= 56.0.100', +- 'libavcodec', '>= 58.2.100', +- 'libavformat', '>= 58.0.102', +- 'libswscale', '>= 5.0.101', +- 'libavfilter', '>= 7.0.101', +- 'libswresample', '>= 3.0.100', ++ 'libavutil', '>= 1.0.100', ++ 'libavcodec', '>= 1.2.100', ++ 'libavformat', '>= 1.0.102', ++ 'libswscale', '>= 1.0.101', ++ 'libavfilter', '>= 1.0.101', ++ 'libswresample', '>= 1.0.100', + ] + libav_pkg_config_checks = [ +- 'libavutil', '>= 56.6.0', +- 'libavcodec', '>= 58.5.0', +- 'libavformat', '>= 58.1.0', +- 'libswscale', '>= 5.0.0', +- 'libavfilter', '>= 7.0.0', +- 'libavresample', '>= 4.0.0', ++ 'libavutil', '>= 1.6.0', ++ 'libavcodec', '>= 1.5.0', ++ 'libavformat', '>= 1.1.0', ++ 'libswscale', '>= 1.0.0', ++ 'libavfilter', '>= 1.0.0', ++ 'libavresample', '>= 1.0.0', + ] + + def check_ffmpeg_or_libav_versions(): +@@ -460,7 +460,7 @@ + }, { + 'name': 'ffmpeg_mpv', + 'desc': 'libav* is FFmpeg mpv modified version', +- 'func': check_statement('libavcodec/version.h', ++ 'func': check_statement('/usr/lib/ffmpeg-mpv/include/libavcodec/version.h', + 'int x[LIBAVCODEC_MPV ? 1 : -1]', + use='libavcodec') + }, { |