mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
9e7855866a
The old binary/url is no longer available, and the layout of the sourceforge archvie seems to have changed to include a new old_versions/ directory where the previous binary is relocated. https://sourceforge.net/projects/winflexbison/files/old_versions/ While we could use that, it seem better to invest the effort to adapt the scipt afterwards to use the github archives instead https://github.com/lexxmark/winflexbison/releases So for now bump the version to get the subproject building till we switch to github releases.
16 lines
529 B
Meson
16 lines
529 B
Meson
project('win-flex-bison-binary', version : '2.5.18')
|
|
|
|
py3 = import('python3').find_python()
|
|
|
|
message('Downloading and extracting win-flex-bison binaries...')
|
|
|
|
zip_hash = '095cf65cb3f12ee5888022f93109acbe6264e5f18f6ffce0bda77feb31b65bd8'
|
|
|
|
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'))
|