package=libxkbcommon
-$(package)_version=1.7.0
-$(package)_download_path=https://xkbcommon.org/download/
-$(package)_file_name=libxkbcommon-$($(package)_version).tar.xz
-$(package)_sha256_hash=65782f0a10a4b455af9c6baab7040e2f537520caa2ec2092805cdfd36863b247
+$(package)_version=1.8.0
+$(package)_download_path=https://github.com/xkbcommon/libxkbcommon/archive/refs/tags
+$(package)_file_name=xkbcommon-$($(package)_version).tar.gz
+$(package)_sha256_hash=025c53032776ed850fbfb92683a703048cd70256df4ac1a1ec41ed3455d5d39c
$(package)_dependencies=libxcb
$(package)_patches=no-test-x11.patch toolchain.txt
diff --git a/meson.build b/meson.build
-index 2de4ee9..57c1038 100644
+index b0b49e78..3b035493 100644
--- a/meson.build
+++ b/meson.build
-@@ -768,20 +768,6 @@ test(
+@@ -881,24 +881,6 @@ test(
dependencies: test_dep),
env: test_env,
)
-if get_option('enable-x11')
+- has_xvfb = find_program('Xvfb', required: false)
+- if not has_xvfb.found()
+- warning('Xvfb program not found, but is required to run X11 tests.')
+- endif
- test(
- 'x11',
- executable('test-x11', 'test/x11.c', dependencies: x11_test_dep),
if get_option('enable-xkbregistry')
test(
'registry',
-@@ -866,13 +852,6 @@ benchmark(
+@@ -1023,13 +1005,6 @@ benchmark(
executable('bench-atom', 'bench/atom.c', dependencies: test_dep),
env: bench_env,
)