mirror of
https://github.com/openwrt/video.git
synced 2025-12-21 14:54:37 +04:00
libxkbcommon: never run Python-based tests
Unfortunately there is no way to disable running the Python/Jinja2-based tests, so patch mesion.build in order to not fail in case of Python dependency problems on the host. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
11
libs/libxkbcommon/patches/100-no-python.patch
Normal file
11
libs/libxkbcommon/patches/100-no-python.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -783,7 +783,7 @@ test(
|
||||
pymod = import('python')
|
||||
python = pymod.find_installation('python3', modules: ['jinja2'], required: false)
|
||||
has_merge_modes_tests = python.found() and python.language_version().version_compare('>=3.11')
|
||||
-if has_merge_modes_tests
|
||||
+if false
|
||||
script = find_program('scripts/update-merge-modes-tests.py')
|
||||
merge_modes_tests = [meson.project_name()]
|
||||
# NOTE: The following tests deal with third-party XKB compilers and are
|
||||
Reference in New Issue
Block a user