patch-meson_build 712 B

1234567891011121314151617181920212223
  1. --- mesa-25.0.2.orig/meson.build 2025-03-20 14:32:27.000000000 +0100
  2. +++ mesa-25.0.2/meson.build 2025-04-02 20:40:53.964094916 +0200
  3. @@ -940,20 +940,6 @@ endif
  4. # On Windows, a venv has no versioned aliased to 'python'.
  5. prog_python = find_program('python3', 'python', version : '>= 3.8')
  6. -has_mako = run_command(
  7. - prog_python, '-c',
  8. - '''
  9. -try:
  10. - from packaging.version import Version
  11. -except:
  12. - from distutils.version import StrictVersion as Version
  13. -import mako
  14. -assert Version(mako.__version__) >= Version("0.8.0")
  15. - ''', check: false)
  16. -if has_mako.returncode() != 0
  17. - error('Python (3.x) mako module >= 0.8.0 required to build mesa.')
  18. -endif
  19. -
  20. has_yaml = run_command(
  21. prog_python, '-c',
  22. '''