summaryrefslogtreecommitdiff
path: root/multimedia/mpv/files
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mpv/files')
-rw-r--r--multimedia/mpv/files/patch-wscript45
1 files changed, 45 insertions, 0 deletions
diff --git a/multimedia/mpv/files/patch-wscript b/multimedia/mpv/files/patch-wscript
new file mode 100644
index 000000000000..56eb8dbe6937
--- /dev/null
+++ b/multimedia/mpv/files/patch-wscript
@@ -0,0 +1,45 @@
+--- wscript.orig 2015-04-29 10:03:56 UTC
++++ wscript
+@@ -374,10 +374,10 @@ iconv support use --disable-iconv.",
+ ]
+
+ libav_pkg_config_checks = [
+- 'libavutil', '>= 54.02.0',
+- 'libavcodec', '>= 56.1.0',
+- 'libavformat', '>= 56.01.0',
+- 'libswscale', '>= 2.1.3'
++ 'libavutil26', '>= 54.02.0',
++ 'libavcodec26', '>= 56.1.0',
++ 'libavformat26', '>= 56.01.0',
++ 'libswscale26', '>= 2.1.3'
+ ]
+ libav_versions_string = "FFmpeg 2.4 or Libav 11"
+
+@@ -392,11 +392,11 @@ FFmpeg/Libav libraries. You need at leas
+ }, {
+ 'name': '--libswresample',
+ 'desc': 'libswresample',
+- 'func': check_pkg_config('libswresample', '>= 1.1.100'),
++ 'func': check_pkg_config('libswresample26', '>= 1.1.100'),
+ }, {
+ 'name': '--libavresample',
+ 'desc': 'libavresample',
+- 'func': check_pkg_config('libavresample', '>= 2.1.0'),
++ 'func': check_pkg_config('libavresample26', '>= 2.1.0'),
+ 'deps_neg': ['libswresample'],
+ }, {
+ 'name': 'resampler',
+@@ -408,11 +408,11 @@ FFmpeg/Libav libraries. You need at leas
+ }, {
+ 'name': '--libavfilter',
+ 'desc': 'libavfilter',
+- 'func': check_pkg_config('libavfilter', '>= 5.0.0'),
++ 'func': check_pkg_config('libavfilter26', '>= 5.0.0'),
+ }, {
+ 'name': '--libavdevice',
+ 'desc': 'libavdevice',
+- 'func': check_pkg_config('libavdevice', '>= 55.0.0'),
++ 'func': check_pkg_config('libavdevice26', '>= 55.0.0'),
+ }, {
+ 'name': 'avcodec-chroma-pos-api',
+ 'desc': 'libavcodec avcodec_enum_to_chroma_pos API',