From b174fab6bf85eeb14af2ad3f0e7427f1b9fb4b4c Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Wed, 14 May 2025 07:25:26 +0200 Subject: [PATCH] fix: add wayland-dev to xrizer dependencies --- src/depcheck/mod.rs | 2 ++ src/depcheck/xrizer_deps.rs | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/src/depcheck/mod.rs b/src/depcheck/mod.rs index 6e484d2..3364490 100644 --- a/src/depcheck/mod.rs +++ b/src/depcheck/mod.rs @@ -166,6 +166,8 @@ fn include_paths() -> Vec { "/usr/include/ffmpeg/libpostproc".into(), "/usr/include/ffmpeg/libswresample".into(), "/usr/include/ffmpeg/libswscale".into(), + // opensuse puts wayland-client.h here + "/usr/include/wayland".into(), ] } diff --git a/src/depcheck/xrizer_deps.rs b/src/depcheck/xrizer_deps.rs index a43bd20..b433357 100644 --- a/src/depcheck/xrizer_deps.rs +++ b/src/depcheck/xrizer_deps.rs @@ -29,6 +29,18 @@ fn xrizer_deps() -> Vec { (LinuxDistro::Suse, "clang19-devel".into()), ]), }, + Dependency { + name: "wayland-dev".into(), + dep_type: DepType::Include, + filename: "wayland-client.h".into(), + packages: HashMap::from([ + (LinuxDistro::Arch, "wayland".into()), + (LinuxDistro::Debian, "libwayland-dev".into()), + (LinuxDistro::Fedora, "wayland-devel".into()), + (LinuxDistro::Gentoo, "dev-libs/wayland".into()), + (LinuxDistro::Suse, "wayland-devel".into()), + ]), + }, ] }