summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2022-04-28 23:16:13 -0400
committerLeo Izen <leo.izen@gmail.com>2022-04-28 23:56:50 -0400
commitaa1158569ca90be850e206fadb222a8c4503278d (patch)
treee49b77df05d65a0e8a2ade0ba1405a892a8a30c0 /wscript
parentee62a1a56e5d0b9cdf121a17577c9838148e885d (diff)
downloadmpv-aa1158569ca90be850e206fadb222a8c4503278d.tar.bz2
mpv-aa1158569ca90be850e206fadb222a8c4503278d.tar.xz
build: add avcodec jpegxl dependency versions
Add the libavcodec version check for AV_CODEC_ID_JPEGXL to the build system rather than to any file that references it.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index 5857414cf6..2532a86ae4 100644
--- a/wscript
+++ b/wscript
@@ -391,6 +391,10 @@ iconv support use --disable-iconv.",
'desc': 'SDL2 gamepad input',
'deps': 'sdl2',
'func': check_true,
+ }, {
+ 'name': 'jpegxl',
+ 'desc': 'JPEG XL support via libavcodec',
+ 'func': check_pkg_config('libavcodec >= 59.27.100'),
}
]