mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-07-30 20:58:45 +00:00
feat: dri_interface and libudev dependency for monado
This commit is contained in:
parent
bafcb649ce
commit
d2c1f5b4a5
3 changed files with 28 additions and 13 deletions
|
@ -194,3 +194,17 @@ pub fn dep_opencv() -> Dependency {
|
|||
]),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn dep_libudev() -> Dependency {
|
||||
Dependency {
|
||||
name: "libudev".into(),
|
||||
dep_type: DepType::Include,
|
||||
filename: "libudev.h".into(),
|
||||
packages: HashMap::from([
|
||||
(LinuxDistro::Arch, "systemd-libs".into()),
|
||||
(LinuxDistro::Debian, "libudev-dev".into()),
|
||||
(LinuxDistro::Fedora, "systemd-devel".into()),
|
||||
(LinuxDistro::Gentoo, "virtual/libudev".into()),
|
||||
]),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ use crate::{
|
|||
depcheck::{DepType, Dependency, DependencyCheckResult},
|
||||
dependencies::common::{
|
||||
dep_cmake, dep_eigen, dep_gcc, dep_git, dep_glslang_validator, dep_gpp, dep_libdrm,
|
||||
dep_ninja, dep_openxr, dep_vulkan_headers, dep_vulkan_icd_loader,
|
||||
dep_libudev, dep_ninja, dep_openxr, dep_vulkan_headers, dep_vulkan_icd_loader,
|
||||
},
|
||||
linux_distro::LinuxDistro,
|
||||
};
|
||||
|
@ -55,6 +55,17 @@ fn monado_deps() -> Vec<Dependency> {
|
|||
(LinuxDistro::Gentoo, "media-libs/libsdl2".into()),
|
||||
]),
|
||||
},
|
||||
dep_libudev(),
|
||||
Dependency {
|
||||
name: "mesa-common-dev".into(),
|
||||
dep_type: DepType::Include,
|
||||
filename: "GL/internal/dri_interface.h".into(),
|
||||
packages: HashMap::from([
|
||||
(LinuxDistro::Arch, "mesa".into()),
|
||||
(LinuxDistro::Debian, "mesa-common-dev".into()),
|
||||
(LinuxDistro::Fedora, "mesa-libGL-devel".into()),
|
||||
]),
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ use crate::{
|
|||
depcheck::{DepType, Dependency, DependencyCheckResult},
|
||||
dependencies::common::{
|
||||
dep_cmake, dep_eigen, dep_gcc, dep_git, dep_glslang_validator, dep_gpp, dep_libdrm,
|
||||
dep_ninja, dep_openxr, dep_vulkan_headers, dep_vulkan_icd_loader,
|
||||
dep_libudev, dep_ninja, dep_openxr, dep_vulkan_headers, dep_vulkan_icd_loader,
|
||||
},
|
||||
linux_distro::LinuxDistro,
|
||||
};
|
||||
|
@ -120,17 +120,7 @@ fn wivrn_deps() -> Vec<Dependency> {
|
|||
]),
|
||||
},
|
||||
dep_glslang_validator(),
|
||||
Dependency {
|
||||
name: "libudev".into(),
|
||||
dep_type: DepType::Include,
|
||||
filename: "libudev.h".into(),
|
||||
packages: HashMap::from([
|
||||
(LinuxDistro::Arch, "systemd-libs".into()),
|
||||
(LinuxDistro::Debian, "libudev-dev".into()),
|
||||
(LinuxDistro::Fedora, "systemd-devel".into()),
|
||||
(LinuxDistro::Gentoo, "virtual/libudev".into()),
|
||||
]),
|
||||
},
|
||||
dep_libudev(),
|
||||
Dependency {
|
||||
name: "gstreamer".into(),
|
||||
dep_type: DepType::SharedObject,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue