mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 03:45:58 +01:00
Add minimum version for ffmpeg 4.0 libraries
This commit is contained in:
parent
86942d8a6a
commit
0e19b024c6
1 changed files with 4 additions and 3 deletions
|
@ -1,9 +1,10 @@
|
||||||
threads = dependency('threads')
|
threads = dependency('threads')
|
||||||
wayland_cursor = dependency('wayland-cursor')
|
wayland_cursor = dependency('wayland-cursor')
|
||||||
|
|
||||||
libavutil = dependency('libavutil', required: false)
|
# These versions correspond to ffmpeg 4.0
|
||||||
libavcodec = dependency('libavcodec', required: false)
|
libavutil = dependency('libavutil', version: '>=56.14.100', required: false)
|
||||||
libavformat = dependency('libavformat', required: false)
|
libavcodec = dependency('libavcodec', version: '>=58.18.100', required: false)
|
||||||
|
libavformat = dependency('libavformat', version: '>=58.12.100', required: false)
|
||||||
|
|
||||||
if not cc.has_header('libavutil/hwcontext_drm.h', dependencies: libavutil)
|
if not cc.has_header('libavutil/hwcontext_drm.h', dependencies: libavutil)
|
||||||
libavutil = disabler()
|
libavutil = disabler()
|
||||||
|
|
Loading…
Reference in a new issue