From 72d5b784a70e5ec92cc7815da299ef340c72e769 Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Sun, 14 Apr 2024 15:42:58 +0200 Subject: [PATCH] fix: add patch dependency for wivrn --- src/dependencies/wivrn_deps.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/dependencies/wivrn_deps.rs b/src/dependencies/wivrn_deps.rs index a571f8f..394e269 100644 --- a/src/dependencies/wivrn_deps.rs +++ b/src/dependencies/wivrn_deps.rs @@ -20,6 +20,18 @@ fn wivrn_deps() -> Vec { dep_openxr(), dep_vulkan_icd_loader(), dep_vulkan_headers(), + Dependency { + name: "patch".into(), + dep_type: DepType::Executable, + filename: "patch".into(), + packages: HashMap::from([ + (LinuxDistro::Arch, "patch".into()), + (LinuxDistro::Debian, "patch".into()), + (LinuxDistro::Fedora, "patch".into()), + (LinuxDistro::Alpine, "patch".into()), + (LinuxDistro::Gentoo, "sys-devel/patch".into()), + ]), + }, Dependency { name: "x264-dev".into(), dep_type: DepType::Include,