mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
2ffe372bdd
This to simplify the checks made when for example a flex binary is available system wide: the build process was failing when that system wide binary didn't have the required version. Instead of adding more checks and making things more complex, let's just always use our binary subproject.
16 lines
529 B
Meson
16 lines
529 B
Meson
project('win-flex-bison-binary', version : '2.5.14')
|
|
|
|
py3 = import('python3').find_python()
|
|
|
|
message('Downloading and extracting win-flex-bison binaries...')
|
|
|
|
zip_hash = '354c9aae02aca421c52abfda7fe3ce6c32ad07e25ff3f66e31da9437a0b906cf'
|
|
|
|
ret = run_command(py3, files('download-binary.py'), meson.project_version(), zip_hash)
|
|
if ret.returncode() != 0
|
|
message(ret.stdout())
|
|
error(ret.stderr())
|
|
endif
|
|
|
|
meson.override_find_program('flex', find_program('win_flex'))
|
|
meson.override_find_program('bison', find_program('win_bison'))
|