aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/platform
diff options
context:
space:
mode:
authorMukilan Thiyagarajan <mukilan@igalia.com>2024-02-19 17:34:38 +0530
committerGitHub <noreply@github.com>2024-02-19 12:04:38 +0000
commit8faf6839d3c70e6d783805bfeba398850eb19d0a (patch)
treec8ebf875bdd81768bb519261594e9d81d96960e7 /python/servo/platform
parenta726bb0fe1880b7309c100dcc4b4a7c4d6e418ad (diff)
downloadservo-8faf6839d3c70e6d783805bfeba398850eb19d0a.tar.gz
servo-8faf6839d3c70e6d783805bfeba398850eb19d0a.zip
install libudev-dev required by gamepad API (#31376)
Ubuntu 20.04 does not have libudev-dev causing build failure when compiling libudev-sys, which is in-turn needed by gilrs-core. Similarly, nix build also needs the udev C library. On Ubuntu 22.04, we don't see the build failures since the build dependency 'libgstreamer-plugins-base-1.0-dev' transitively pulls in libudev-dev. Fixes #31373 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Diffstat (limited to 'python/servo/platform')
-rw-r--r--python/servo/platform/linux.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/platform/linux.py b/python/servo/platform/linux.py
index 879e8f45926..8e79ed34391 100644
--- a/python/servo/platform/linux.py
+++ b/python/servo/platform/linux.py
@@ -35,7 +35,7 @@ APT_PKGS = [
'libgstrtspserver-1.0-dev',
'gstreamer1.0-tools',
'libges-1.0-dev',
- 'libharfbuzz-dev', 'liblzma-dev', 'libunwind-dev', 'libunwind-dev',
+ 'libharfbuzz-dev', 'liblzma-dev', 'libudev-dev', 'libunwind-dev',
'libvulkan1', 'libx11-dev', 'libxcb-render0-dev', 'libxcb-shape0-dev',
'libxcb-xfixes0-dev', 'libxmu-dev', 'libxmu6', 'libegl1-mesa-dev',
'llvm-dev', 'm4', 'xorg-dev',