diff options
Diffstat (limited to 'accessibility/orca/files')
-rw-r--r-- | accessibility/orca/files/patch-meson.build | 11 | ||||
-rw-r--r-- | accessibility/orca/files/patch-src_orca_meson.build | 26 |
2 files changed, 37 insertions, 0 deletions
diff --git a/accessibility/orca/files/patch-meson.build b/accessibility/orca/files/patch-meson.build new file mode 100644 index 000000000000..1b665ae23718 --- /dev/null +++ b/accessibility/orca/files/patch-meson.build @@ -0,0 +1,11 @@ +--- meson.build.orig 2024-06-25 12:03:30 UTC ++++ meson.build +@@ -8,7 +8,7 @@ python_minimum_version = '3.10' + i18n = import('i18n') + + python_minimum_version = '3.10' +-python3 = python.find_installation('python3', required: true) ++python3 = python.find_installation(required: true) + if not python3.language_version().version_compare(f'>= @python_minimum_version@') + error(f'Python @python_minimum_version@ or newer is required.') + endif diff --git a/accessibility/orca/files/patch-src_orca_meson.build b/accessibility/orca/files/patch-src_orca_meson.build new file mode 100644 index 000000000000..b0db754628ee --- /dev/null +++ b/accessibility/orca/files/patch-src_orca_meson.build @@ -0,0 +1,26 @@ +--- src/orca/meson.build.orig 2024-06-25 12:03:30 UTC ++++ src/orca/meson.build +@@ -23,14 +23,6 @@ orca_i18n_py = configure_file( + } + ) + +-git = find_program('git', required: false) +-if git.found() +- r = run_command('git', 'rev-parse', '--short', 'HEAD', check: false) +- revision = r.stdout().strip() +-else +- revision = '' +-endif +- + r = run_command('pkg-config', '--variable=tablesdir', 'liblouis', check: false) + louis_tables_dir = r.stdout().strip() + +@@ -42,7 +34,7 @@ orca_platform_py = configure_file( + 'prefix': get_option('prefix'), + 'PACKAGE': meson.project_name(), + 'VERSION': meson.project_version(), +- 'REVISION': revision, ++ 'REVISION': '', + 'LOUIS_TABLE_DIR': louis_tables_dir, + } + ) |