tests: mark elements_srtp.test_play test as flaky
[platform/upstream/gstreamer.git] / subprojects / win-nasm / meson.build
1 project('win-nasm', version : '2.15.04')
2
3 py3 = import('python3').find_python()
4
5 if host_machine.system() != 'windows'
6   error('Can only download nasm for Windows, sorry')
7 endif
8
9 message('Downloading and extracting nasm binaries for Windows...')
10
11 arch = host_machine.cpu_family()
12 if arch == 'x86_64'
13   zip_hash = '94204ab5d60324669f71387c2d536cacb37341d27f236358c2ba84bf16c23f6e'
14 else
15   zip_hash = '2b8a00d9fa348e7b68bac0497e25be44db83c64d6681478fdcbfa03fca36ad76'
16 endif
17
18 ret = run_command(py3, files('download-binary.py'), meson.project_version(), arch, zip_hash, check: true)
19
20 meson.override_find_program('nasm', find_program(join_paths('nasm-@0@'.format(meson.project_version()), 'nasm')))