mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-20 11:35:48 +00:00
Merge branch 'feat/RiQuY-check-opensuse-libs' into 'main'
feat: Add dependency warning when dri_interface.h file is not found and name_matcher distro detection for openSUSE See merge request gabmus/envision!49
This commit is contained in:
commit
b594f75778
2 changed files with 5 additions and 1 deletions
|
@ -64,6 +64,7 @@ fn monado_deps() -> Vec<Dependency> {
|
|||
(LinuxDistro::Arch, "mesa".into()),
|
||||
(LinuxDistro::Debian, "mesa-common-dev".into()),
|
||||
(LinuxDistro::Fedora, "mesa-libGL-devel".into()),
|
||||
(LinuxDistro::Suse, "Mesa-dri-devel".into()),
|
||||
]),
|
||||
},
|
||||
]
|
||||
|
|
|
@ -84,7 +84,10 @@ impl LinuxDistro {
|
|||
if s.contains("alpine") || s.contains("postmarket") {
|
||||
return Some(Self::Alpine);
|
||||
}
|
||||
// TODO: detect suse, sles, rhel, nix
|
||||
if s.contains("suse") {
|
||||
return Some(Self::Suse);
|
||||
}
|
||||
// TODO: detect sles, rhel, nix
|
||||
|
||||
None
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue